protected class FileResourceManager.TransactionContext extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
commitTime |
protected boolean |
finished |
protected boolean |
isLightWeight |
protected int |
isolationLevel |
protected boolean |
readOnly |
protected long |
startTime |
protected int |
status |
protected long |
timeoutMSecs |
protected Object |
txId |
Constructor and Description |
---|
FileResourceManager.TransactionContext(Object txId) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
void |
closeResources() |
void |
commit() |
void |
finalCleanUp() |
void |
freeLocks() |
long |
getRemainingTimeout() |
void |
init() |
void |
notifyFinish() |
void |
recoverState() |
void |
registerResource(Object openResource) |
void |
rollback() |
void |
saveState() |
String |
toString() |
void |
upgradeLockToCommit() |
protected int status
protected int isolationLevel
protected long timeoutMSecs
protected long startTime
protected long commitTime
protected boolean isLightWeight
protected boolean readOnly
protected boolean finished
public FileResourceManager.TransactionContext(Object txId) throws ResourceManagerException
ResourceManagerException
public long getRemainingTimeout()
public void init() throws ResourceManagerException
ResourceManagerException
public void rollback() throws ResourceManagerException
ResourceManagerException
public void commit() throws ResourceManagerException
ResourceManagerException
public void notifyFinish()
public void cleanUp() throws ResourceManagerException
ResourceManagerException
public void finalCleanUp() throws ResourceManagerException
ResourceManagerException
public void upgradeLockToCommit() throws ResourceManagerException
ResourceManagerException
public void freeLocks()
public void closeResources()
public void registerResource(Object openResource)
public void saveState() throws ResourceManagerException
ResourceManagerException
public void recoverState() throws ResourceManagerException
ResourceManagerException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.