ome.services.throttling
Class Adapter
java.lang.Object
ome.services.throttling.Task
ome.services.throttling.Adapter
- All Implemented Interfaces:
- Runnable
public class Adapter
- extends Task
Simple adapter which takes a Executor.Work
instance and executes it
as a BlitzExecutor
task. All exceptions are caught and routed to via
the #exception(Exception)
method to the provided callback.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Adapter
public Adapter(Object callback,
Ice.Current current,
IceMapper mapper,
Executor ex,
Principal p,
Executor.Work work)
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class Task
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.