|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Signal
A Signal denotes a group event or a message event.
Subtypes of Signal will define operations specific to their Signal
functionalities i.e specific group events or a message event.
Action
s consume Signal
s.
Each Signal is delivered on its own thread.
Method Summary | |
---|---|
void |
acquire()
Signal is acquired prior to processing of the signal to protect group resources being acquired from being affected by a race condition Signal must be mandatorily acquired before any processing for recovery operations. |
String |
getGroupName()
returns the group to which the member involved in the Signal belonged to |
Map<Serializable,Serializable> |
getMemberDetails()
returns the details of the member who caused this Signal to be generated returns a Map containing key-value pairs constituting data pertaining to the member's details |
String |
getMemberToken()
returns the identity token of the member that caused this signal to be generated. |
long |
getStartTime()
returns the start time of the member involved in this Signal. |
void |
release()
Signal is released after processing of the signal to bring the group resources to a state of availability Signal should be madatorily released after recovery process is completed. |
Method Detail |
---|
void acquire() throws SignalAcquireException
SignalAcquireException
void release() throws SignalReleaseException
SignalReleaseException
String getMemberToken()
Map<Serializable,Serializable> getMemberDetails()
String getGroupName()
long getStartTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |