public class LockResult
extends java.lang.Object
Constructor and Description |
---|
LockResult(LockGrantType grant,
WriteLockInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
copyAbortInfo(WriteLockInfo fromInfo) |
void |
copyWriteLockInfo(LockResult fromResult) |
void |
copyWriteLockInfo(WriteLockInfo fromInfo)
Used to copy write lock info when an LSN is changed.
|
LockGrantType |
getLockGrant() |
WriteLockInfo |
getWriteLockInfo()
Returns the write lock info for a transactional write lock that was
granted.
|
void |
setAbortLsn(long abortLsn,
boolean abortKnownDeleted) |
void |
setAbortLsn(long abortLsn,
boolean abortKnownDeleted,
boolean createdThisTxn) |
public LockResult(LockGrantType grant, WriteLockInfo info)
public LockGrantType getLockGrant()
public void setAbortLsn(long abortLsn, boolean abortKnownDeleted)
public void setAbortLsn(long abortLsn, boolean abortKnownDeleted, boolean createdThisTxn)
public void copyAbortInfo(WriteLockInfo fromInfo)
public void copyWriteLockInfo(LockResult fromResult)
public void copyWriteLockInfo(WriteLockInfo fromInfo)
public WriteLockInfo getWriteLockInfo()
Copyright (c) 2004-2012 Oracle. All rights reserved.