com.sleepycat.je.txn
Class LockResult
java.lang.Object
com.sleepycat.je.txn.LockResult
public class LockResult
- extends Object
This class is a container to encapsulate a LockGrantType and a WriteLockInfo
so that they can both be returned from writeLock.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockResult
public LockResult(LockGrantType grant,
WriteLockInfo info)
getLN
public LN getLN()
setLN
public void setLN(LN ln)
getLockGrant
public LockGrantType getLockGrant()
setAbortLsn
public void setAbortLsn(long abortLsn,
boolean abortKnownDeleted)
setAbortLsn
public void setAbortLsn(long abortLsn,
boolean abortKnownDeleted,
boolean createdThisTxn)
copyAbortInfo
public void copyAbortInfo(WriteLockInfo fromInfo)
Copyright (c) 2004-2010 Oracle. All rights reserved.