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