public class SerialThrottlingStrategy extends AbstractThrottlingStrategy
ctx, log
コンストラクタと説明 |
---|
SerialThrottlingStrategy(ome.system.OmeroContext ctx) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
callInvokerOnRawArgs(ome.api.ServiceInterface service,
IceMethodInvoker invoker,
java.lang.Object __cb,
Ice.Current __current,
java.lang.Object... args)
Uses the given
IceMethodInvoker to make the method call. |
void |
callInvokerWithMappedArgs(ome.api.ServiceInterface service,
IceMethodInvoker invoker,
IceMapper mapper,
java.lang.Object __cb,
Ice.Current __current,
java.lang.Object... args)
Passes the given arguments to
IceMethodInvoker with the
assumption that all conversion from omero.* to ome.* has taken place. |
void |
runnableCall(Ice.Current __current,
Task runnable) |
<R> void |
safeRunnableCall(Ice.Current __current,
java.lang.Object __cb,
boolean isVoid,
java.util.concurrent.Callable<R> callable) |
onApplicationEvent, setApplicationContext
public void callInvokerOnRawArgs(ome.api.ServiceInterface service, IceMethodInvoker invoker, java.lang.Object __cb, Ice.Current __current, java.lang.Object... args)
BlitzExecutor
IceMethodInvoker
to make the method call. All
arguments are passed directly into the invoker, and the return value from
the invoker is passed to the user.public void callInvokerWithMappedArgs(ome.api.ServiceInterface service, IceMethodInvoker invoker, IceMapper mapper, java.lang.Object __cb, Ice.Current __current, java.lang.Object... args)
BlitzExecutor
IceMethodInvoker
with the
assumption that all conversion from omero.* to ome.* has taken place.
Similarly, the ReturnMapper
instance will be used to map the
return value from ome.* to omero.*.public void runnableCall(Ice.Current __current, Task runnable)
public <R> void safeRunnableCall(Ice.Current __current, java.lang.Object __cb, boolean isVoid, java.util.concurrent.Callable<R> callable)