public class DLockGrantorHelper extends Object
| Constructor and Description |
|---|
DLockGrantorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
forceDepartureOf(com.gemstone.gemfire.distributed.DistributedLockService dlock,
com.gemstone.gemfire.distributed.internal.membership.InternalDistributedMember member)
Forces DLockGrantor to
handleDepartureOf |
static Object |
getSuspendLockingToken()
Returns the DLockService.SUSPEND_LOCKING_TOKEN for testing
|
static boolean |
hasWaitingRequests(com.gemstone.gemfire.distributed.DistributedLockService dlock,
Object name)
Returns true if the grantor has waiting lock requests for the named lock
|
public static void forceDepartureOf(com.gemstone.gemfire.distributed.DistributedLockService dlock,
com.gemstone.gemfire.distributed.internal.membership.InternalDistributedMember member)
handleDepartureOf specified member,
which causes the grantor release all locks held by that member.
If the specified service instance is not the grantor, this method will
return without performing anything.
public static boolean hasWaitingRequests(com.gemstone.gemfire.distributed.DistributedLockService dlock,
Object name)
public static Object getSuspendLockingToken()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.