public abstract class UnlockOptions extends java.lang.Object implements SpaceOptions<UnlockOptions>
SpaceOptions and is used
as a parameter to the following methods of Space:
UnlockOptions can be used to specify a ResultHandler object or closure object when waiting
asynchronously for a lock on a tuple, or collection of tuples, in a space. UnlockOptions is
also used to specify the amount of time to wait for a lock to clear.
UnlockOptions is an abstract class. To create an instance of UnlockOptions, call create().| Constructor and Description |
|---|
UnlockOptions() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
clone()
Method to create a clone of this PutOptions object.
|
static UnlockOptions |
create()
Method used to instantiate an instance of an UnlockOptions object.
|
abstract long |
getLockWait()
Retrieves the current setting for the amount of time to wait for a lock
to clear.
|
abstract UnlockOptions |
setLockWait(long lockWait)
setLockWait is used to set the amount of time to wait for a lock to
clear.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClosure, getResultHandler, setClosure, setResultHandlerpublic static UnlockOptions create()
public abstract java.lang.Object clone()
clone in class java.lang.Objectpublic abstract UnlockOptions setLockWait(long lockWait)
lockWait - The amount of time in milliseconds to wait.public abstract long getLockWait()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.