public class LockHandle extends Object implements Externalizable
With GigaMap this is done automatically by just passing the lock
 handle to an operation.
| Constructor and Description | 
|---|
| LockHandle() | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | getKey()Returns the key that is locked. | 
| Transaction | getTransaction()Returns the transaction representing the lock on the given key. | 
| void | readExternal(ObjectInput in) | 
| void | unlock()Unlocks the given key. | 
| void | writeExternal(ObjectOutput out) | 
public void unlock()
public Transaction getTransaction()
public Object getKey()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.