Package ome.services.blitz.util
Interface BlitzExecutor
-
- All Known Subinterfaces:
ThrottlingStrategy
- All Known Implementing Classes:
AbstractThrottlingStrategy,InThreadThrottlingStrategy,SerialThrottlingStrategy
public interface BlitzExecutorSingle-point of execution for all AMD blitz calls.- Since:
- 3.0-Beta4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcallInvokerOnRawArgs(ome.api.ServiceInterface service, IceMethodInvoker invoker, java.lang.Object __cb, Ice.Current __current, java.lang.Object... args)Uses the givenIceMethodInvokerto make the method call.voidcallInvokerWithMappedArgs(ome.api.ServiceInterface service, IceMethodInvoker invoker, IceMapper mapper, java.lang.Object __cb, Ice.Current __current, java.lang.Object... args)Passes the given arguments toIceMethodInvokerwith the assumption that all conversion from omero.* to ome.* has taken place.voidrunnableCall(Ice.Current __current, Task runnable)<R> voidsafeRunnableCall(Ice.Current __current, java.lang.Object cb, boolean isVoid, java.util.concurrent.Callable<R> callable)
-
-
-
Method Detail
-
callInvokerOnRawArgs
void callInvokerOnRawArgs(ome.api.ServiceInterface service, IceMethodInvoker invoker, java.lang.Object __cb, Ice.Current __current, java.lang.Object... args)Uses the givenIceMethodInvokerto make the method call. All arguments are passed directly into the invoker, and the return value from the invoker is passed to the user.
-
callInvokerWithMappedArgs
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 toIceMethodInvokerwith the assumption that all conversion from omero.* to ome.* has taken place. Similarly, theIceMapperinstance will be used to map the return value from ome.* to omero.*.
-
runnableCall
void runnableCall(Ice.Current __current, Task runnable)
-
safeRunnableCall
<R> void safeRunnableCall(Ice.Current __current, java.lang.Object cb, boolean isVoid, java.util.concurrent.Callable<R> callable)
-
-