public interface LockEventChannel
Modifier and Type | Method and Description |
---|---|
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.
|
ClusterOperation create(NodeId nodeId, boolean deep, String owner)
nodeId
- node iddeep
- flag indicating whether lock is deepowner
- lock ownernull
if the cluster node
is not started or some error occursClusterOperation create(NodeId nodeId)
nodeId
- node idnull
if the cluster node
is not started or some error occursvoid setListener(LockEventListener listener)
listener
- lock event listenerCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.