public interface DistributedLockServiceMXBean
DistributedLockService
.
Since any number of DistributedLockService objects can be created by a member there may be 0 or
more instances of this MBean available.Modifier and Type | Method and Description |
---|---|
java.lang.String |
fetchGrantorMember()
Returns of the name of the member which grants the lock.
|
int |
getMemberCount()
Returns the number of members using this LockService.
|
java.lang.String[] |
getMemberNames()
Returns a list of names of the members using this LockService.
|
java.lang.String |
getName()
Returns the name of the LockService.
|
java.lang.String[] |
listHeldLocks()
Returns a list of names of the locks held by this member's threads.
|
java.util.Map<java.lang.String,java.lang.String> |
listThreadsHoldingLock()
Returns a map of the names of the objects being locked on and the names of the threads holding
the locks.
|
java.lang.String getName()
int getMemberCount()
java.lang.String fetchGrantorMember()
java.lang.String[] getMemberNames()
java.util.Map<java.lang.String,java.lang.String> listThreadsHoldingLock()
java.lang.String[] listHeldLocks()