|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Invocable
The Invocable object is a cluster-portable object that can be invoked on any set of remote members and each can optionally register a return value for the invocation.
When an Invocable object is received for execution, the order of execution is:
InvocationService;Starting with Coherence 3.3 it's possible to control the task scheduling priority and timeout by also implementing PriorityTask interface.
| Method Summary | |
|---|---|
java.lang.Object |
getResult()Determine the result from the invocation of this object. |
void |
init(InvocationService service)Called by the InvocationService exactly once on this Invocable object as part of its initialization. |
void |
run()Called exactly once by the InvocationService to invoke this Invocable object. |
| Method Detail |
|---|
void init(InvocationService service)
Note: implementations of the Invocable interface that store the service reference must do so only in a transient field.
service - the containing InvocationServicevoid run()
run in interface java.lang.Runnablejava.lang.Object getResult()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||