public class DLockOperations extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BECOMEGRANTOR_DLCOK |
static int |
CREATE_DLOCK |
static int |
DESTROY_DLOCK |
static int |
LOCKUNLCOK_DLOCK |
| Constructor and Description |
|---|
DLockOperations(com.gemstone.gemfire.distributed.DistributedSystem ds,
DLockOperationEvents events) |
| Modifier and Type | Method and Description |
|---|---|
void |
becomeGrantor(String name) |
String |
createDLock() |
void |
destroyLock(String name) |
void |
doLockUnLock(String name,
long delay) |
DLockOperationEvents |
getOperationRecorder() |
Set<String> |
listOfAvailableLocks() |
void |
setOperationRecorder(DLockOperationEvents operationRecorder) |
public static final int CREATE_DLOCK
public static final int DESTROY_DLOCK
public static final int LOCKUNLCOK_DLOCK
public static final int BECOMEGRANTOR_DLCOK
public DLockOperations(com.gemstone.gemfire.distributed.DistributedSystem ds,
DLockOperationEvents events)
public DLockOperationEvents getOperationRecorder()
public void setOperationRecorder(DLockOperationEvents operationRecorder)
public String createDLock()
public void destroyLock(String name)
public void doLockUnLock(String name, long delay)
public void becomeGrantor(String name)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.