public class DLockOperations
extends java.lang.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(java.lang.String name) |
java.lang.String |
createDLock() |
void |
destroyLock(java.lang.String name) |
void |
doLockUnLock(java.lang.String name,
long delay) |
DLockOperationEvents |
getOperationRecorder() |
java.util.Set<java.lang.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 java.lang.String createDLock()
public void destroyLock(java.lang.String name)
public java.util.Set<java.lang.String> listOfAvailableLocks()
public void doLockUnLock(java.lang.String name,
long delay)
public void becomeGrantor(java.lang.String name)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.