|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.servlet.AbstractHttpSessionCollection.ExitObserver
Deprecated. In releases following 3.6 customization will be declarative.
public static class AbstractHttpSessionCollection.ExitObserver
This InvocationObserver waits for an ExitAgent to report back that some server in the cluster did have the specified session id locked.
Constructor Summary | |
---|---|
AbstractHttpSessionCollection.ExitObserver() Deprecated. |
Method Summary | |
---|---|
void |
invocationCompleted() Deprecated. This method is called by the InvocationService to inform the InvocationObserver that all service members have either finished the Invocable object execution or are not (or no longer) running the InvocationService. |
boolean |
isDone() Deprecated. Determine if an agent has reported that the session was unlocked. |
void |
memberCompleted(Member member, Object oResult) Deprecated. This method is called by the InvocationService to inform the InvocationObserver that a member has finished running the Invocable object; the result of the invocation, if any, is provided to the InvocationObserver. |
void |
memberFailed(Member member, Throwable eFailure) Deprecated. This method is called by the InvocationService to inform the InvocationObserver that a member has thrown an exception while running the Invocable object. |
void |
memberLeft(Member member) Deprecated. This method is called by the InvocationService to inform the InvocationObserver that a member that the Invocable object was intended for execution upon has left the service (or the cluster). |
protected void |
setDone(boolean fDone) Deprecated. Toggle the successful completion (session was unlocked) of any one agent. |
Constructor Detail |
---|
public AbstractHttpSessionCollection.ExitObserver()
Method Detail |
---|
public void memberCompleted(Member member, Object oResult)
InvocationService
to inform the InvocationObserver that a member has finished running the Invocable
object; the result of the invocation, if any, is provided to the InvocationObserver. The result will be null if no result is registered by the Invocable object, or if it explicitly registers a result whose value is null.memberCompleted
in interface InvocationObserver
member
- cluster Member that has finished the execution of the Invocable objectoResult
- the result, if any, of the invocationpublic void memberFailed(Member member, Throwable eFailure)
InvocationService
to inform the InvocationObserver that a member has thrown an exception while running the Invocable
object.memberFailed
in interface InvocationObserver
member
- cluster Member that encountered an exception while executing the Invocable objecteFailure
- the Throwable object that was encounteredpublic void memberLeft(Member member)
InvocationService
to inform the InvocationObserver that a member that the Invocable
object was intended for execution upon has left the service (or the cluster).
It cannot be determined whether the member never received the Invocable object, received and began execution of it and left before finishing, or even completed execution of it without managing to report a result.
memberLeft
in interface InvocationObserver
member
- cluster Member that left the service before reporting the completion of the execution of the Invocable objectpublic void invocationCompleted()
InvocationService
to inform the InvocationObserver that all service members have either finished the Invocable
object execution or are not (or no longer) running the InvocationService.invocationCompleted
in interface InvocationObserver
public boolean isDone()
protected void setDone(boolean fDone)
fDone
- true if an agent reports that the session was unlocked
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |