|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
copyCoordinationFrom(java.lang.Object resId,
java.io.Serializable nodeId)
Replicates the coordination of a resource from a remote node to the local one. |
java.util.Vector |
getCoordinators(java.lang.Object resId)
|
java.io.Serializable |
getNodeId()
Returns the id of the local node which can be sent in messages as it is serializable. |
void |
migrateCoordinationFrom(java.lang.Object resId,
java.io.Serializable nodeId)
Migrates the coordination of a resource from a remote node to the local one. |
Method Detail |
public java.util.Vector getCoordinators(java.lang.Object resId)
public void migrateCoordinationFrom(java.lang.Object resId, java.io.Serializable nodeId) throws NotCoordinatorException, AlreadyCoordinatorException
resId
- the id of the related resourcenodeId
- id of the node from which the coordination is to be moved
NotCoordinatorException
- if the designated node is not a coord.
AlreadyCoordinatorException
- if the local node is already a
coordinatorpublic void copyCoordinationFrom(java.lang.Object resId, java.io.Serializable nodeId) throws NotCoordinatorException, AlreadyCoordinatorException
resId
- the id of the related resourcenodeId
- the id of the node from which the coordination is to be
replicated
NotCoordinatorException
- if the designated node is not a
coordinator
AlreadyCoordinatorException
- if the local node is already a
coordinatorpublic java.io.Serializable getNodeId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |