|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for implementing objects that can execute Operation
s.
An operation can e.g. be executed locally or remotely.
Method Summary | |
java.lang.Object |
execute(Operation operation)
Executes some code, returning a value. |
BackgroundOperation |
executeBackground(Operation operation)
Starts executing some code in the background. |
int |
getWeight()
Returns the relative weight of this executor. |
Method Detail |
public java.lang.Object execute(Operation operation)
operation
- The operation to execute.
public BackgroundOperation executeBackground(Operation operation)
operation
- The operation to execute in the background.
public int getWeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |