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
Author:
Josh Moore, josh at glencoesoftware.com

Method Summary
 void callInvokerOnRawArgs(ServiceInterface service, IceMethodInvoker invoker, Object __cb, Ice.Current __current, Object... args)
          Uses the given IceMethodInvoker to make the method call.
 void callInvokerWithMappedArgs(ServiceInterface service, IceMethodInvoker invoker, IceMapper mapper, Object __cb, Ice.Current __current, 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, Runnable runnable)
           
 

Method Detail

callInvokerOnRawArgs

void callInvokerOnRawArgs(ServiceInterface service,
                          IceMethodInvoker invoker,
                          Object __cb,
                          Ice.Current __current,
                          Object... args)
Uses the given 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.


callInvokerWithMappedArgs

void callInvokerWithMappedArgs(ServiceInterface service,
                               IceMethodInvoker invoker,
                               IceMapper mapper,
                               Object __cb,
                               Ice.Current __current,
                               Object... args)
Passes the given arguments to 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.*.


runnableCall

void runnableCall(Ice.Current __current,
                  Runnable runnable)


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.