public class SerialThrottlingStrategy extends AbstractThrottlingStrategy
ctx, log| Constructor and Description | 
|---|
| SerialThrottlingStrategy(OmeroContext ctx) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | callInvokerOnRawArgs(ServiceInterface service,
                    IceMethodInvoker invoker,
                    Object __cb,
                    Ice.Current __current,
                    Object... args)Uses the given  IceMethodInvokerto make the method call. | 
| void | callInvokerWithMappedArgs(ServiceInterface service,
                         IceMethodInvoker invoker,
                         IceMapper mapper,
                         Object __cb,
                         Ice.Current __current,
                         Object... args)Passes the given arguments to  IceMethodInvokerwith 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,
                Object __cb,
                boolean isVoid,
                Callable<R> callable) | 
onApplicationEvent, setApplicationContextpublic SerialThrottlingStrategy(OmeroContext ctx)
public void callInvokerOnRawArgs(ServiceInterface service, IceMethodInvoker invoker, Object __cb, Ice.Current __current, Object... args)
BlitzExecutorIceMethodInvoker 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(ServiceInterface service, IceMethodInvoker invoker, IceMapper mapper, Object __cb, Ice.Current __current, Object... args)
BlitzExecutorIceMethodInvoker with the
 assumption that all conversion from omero.* to ome.* has taken place.
 Similarly, the IceMapper instance will be used to map the
 return value from ome.* to omero.*.public void runnableCall(Ice.Current __current,
                         Task runnable)
                
                
Version: 5.2.5-ice35-b28
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.