|
Oracle® Coherence Java API Reference v3.5.2 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.coherence.commonj.WorkManager.WorkObserver
protected class WorkManager.WorkObserver
The InvocationObserver for all posted work. It serves only to update the work status from "none" to WORK_ACCEPTED or WORK_REJECTED. The completion is sent back as a separate communication using a SendFeedback agent.
| Constructor Summary | |
|---|---|
protected |
WorkManager.WorkObserver()
|
| Method Summary | |
|---|---|
void |
invocationCompleted()
This method is called when all service members have either finished the Invocable object execution or are not (or no longer) running the InvocationService. |
void |
memberCompleted(Member member,
java.lang.Object oResult)
This method is called when a Member has finished running the ScheduleWork agent. |
void |
memberFailed(Member member,
java.lang.Throwable eFailure)
This method is called when a Member has thrown an exception while running the Invocable object. |
void |
memberLeft(Member member)
This method is called when a Member that the Invocable} object was intended for execution upon has left the service (or the cluster). |
| Constructor Detail |
|---|
protected WorkManager.WorkObserver()
| Method Detail |
|---|
public void memberCompleted(Member member,
java.lang.Object oResult)
memberCompleted in interface InvocationObservermember - cluster Member that has finished the execution
of the ScheduleWork agentoResult - the result, if any, of the invocation
public void memberFailed(Member member,
java.lang.Throwable eFailure)
memberFailed in interface InvocationObservermember - cluster Member that encountered an exception
while executing the Invocable objecteFailure - the Throwable object that was encounteredpublic void memberLeft(Member member)
memberLeft in interface InvocationObservermember - cluster Member that left the service before
reporting the completion of the execution of
the Invocable objectpublic void invocationCompleted()
invocationCompleted in interface InvocationObserver
|
Oracle® Coherence Java API Reference v3.5.2 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||