|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LockEventChannel
Event channel used to transmit lock events.
Method Summary | |
---|---|
ClusterOperation |
create(NodeId nodeId)
Create a new cluster operation that should be used to inform other instances in the cluster. |
ClusterOperation |
create(NodeId nodeId,
boolean deep,
String owner)
Create a new cluster operation that should be used to inform other instances in the cluster. |
void |
setListener(LockEventListener listener)
Set listener that will receive information about incoming, external lock events. |
Method Detail |
---|
ClusterOperation create(NodeId nodeId, boolean deep, String owner)
nodeId
- node iddeep
- flag indicating whether lock is deepowner
- lock owner
null
if the cluster node
is not started or some error occursClusterOperation create(NodeId nodeId)
nodeId
- node id
null
if the cluster node
is not started or some error occursvoid setListener(LockEventListener listener)
listener
- lock event listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |