|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
RemoteEisMcGLock.Participant |
fetchNext()
Fetch the info about the next possibly non-idle participant. |
java.lang.Comparable |
getMyID()
Returns the ID of self. |
java.lang.Comparable |
getTurnID()
Gets the participant ID of the turn holder, or null if turn is unclaimed. |
void |
resetCursor(java.lang.Comparable id)
|
void |
setMyState(RemoteEisMcGLock.Participant.State state)
|
void |
setTurnID(java.lang.Comparable id)
Sets turn holder to a given participant ID |
void |
waitForEvent(long nanos)
|
Method Detail |
public java.lang.Comparable getMyID()
public java.lang.Comparable getTurnID() throws java.rmi.RemoteException
java.rmi.RemoteException
public void setTurnID(java.lang.Comparable id) throws java.rmi.RemoteException
java.rmi.RemoteException
public void setMyState(RemoteEisMcGLock.Participant.State state) throws java.rmi.RemoteException
java.rmi.RemoteException
public void resetCursor(java.lang.Comparable id)
public RemoteEisMcGLock.Participant fetchNext() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a communication error occurspublic void waitForEvent(long nanos) throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |