|
GemFire 7.0.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LockServiceMXBean
MBean that provides access to information and management functionality for a
DLockService
. Since any number of DLockService objects can be created
by a member there may be 0 or more instances of this MBean available.
Method Summary | |
---|---|
void |
becomeLockGrantor()
Requests that this member become the granter. |
String |
fetchGrantorMember()
Returns of the name of the member which grants the lock. |
int |
getMemberCount()
Returns the number of members using this LockService. |
String[] |
getMemberNames()
Returns a list of names of the members using this LockService. |
String |
getName()
Returns the name of the lock service. |
boolean |
isDistributed()
Returns whether this is a distributed LockService. |
boolean |
isLockGrantor()
Returns whether this member is the granter. |
String[] |
listHeldLocks()
Returns a list of names of the locks held by this member's threads. |
Map<String,String> |
listThreadsHoldingLock()
Returns a map of the names of the objects being locked on and the names of the threads holding the locks. |
Method Detail |
---|
String getName()
boolean isDistributed()
int getMemberCount()
String fetchGrantorMember()
String[] getMemberNames()
boolean isLockGrantor()
void becomeLockGrantor()
Map<String,String> listThreadsHoldingLock()
String[] listHeldLocks()
|
GemFire 7.0.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |