Package ome.services.blitz.util
Interface BlitzExecutor
-
- All Known Subinterfaces:
ThrottlingStrategy
- All Known Implementing Classes:
AbstractThrottlingStrategy
,InThreadThrottlingStrategy
,SerialThrottlingStrategy
public interface BlitzExecutor
Single-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 void
callInvokerOnRawArgs(ome.api.ServiceInterface service, IceMethodInvoker invoker, java.lang.Object __cb, Ice.Current __current, java.lang.Object... args)
Uses the givenIceMethodInvoker
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 toIceMethodInvoker
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)
-
-
-
Method Detail
-
callInvokerOnRawArgs
void callInvokerOnRawArgs(ome.api.ServiceInterface service, IceMethodInvoker invoker, java.lang.Object __cb, Ice.Current __current, java.lang.Object... args)
Uses the givenIceMethodInvoker
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.
-
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 toIceMethodInvoker
with the assumption that all conversion from omero.* to ome.* has taken place. Similarly, theIceMapper
instance 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)
-
-