org.ozoneDB.core.classicStore
Class PersistenceSpace
java.lang.Object
|
+--org.ozoneDB.core.classicStore.PersistenceSpace
- public class PersistenceSpace
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSACTION_FLAG
static final java.lang.String TRANSACTION_FLAG
- See Also:
- Constant Field Values
TRANSACTION_FLAG_VERSION
static final int TRANSACTION_FLAG_VERSION
- See Also:
- Constant Field Values
PROPS_FILE_VERSION
static final int PROPS_FILE_VERSION
- See Also:
- Constant Field Values
CID
static final java.lang.String CID
- See Also:
- Constant Field Values
env
Env env
classicStore
ClassicStore classicStore
currentCluster
Cluster currentCluster
currentTransaction
TransactionID currentTransaction
touchedClusters
DxSet touchedClusters
clustersToCompress
DxSet clustersToCompress
PersistenceSpace
public PersistenceSpace(Env _env)
startup
protected boolean startup()
throws java.lang.Exception
java.lang.Exception
shutdown
protected boolean shutdown()
throws java.lang.Exception
java.lang.Exception
readProperties
protected boolean readProperties()
writeProperties
protected void writeProperties()
throws java.lang.Exception
java.lang.Exception
startTransaction
protected void startTransaction(TransactionID tid)
throws java.lang.Exception
- begins a transaction commit with setting the transaction label
java.lang.Exception
prepareCommitTransaction
protected void prepareCommitTransaction(TransactionID tid)
throws java.lang.Exception
java.lang.Exception
commitTransaction
protected void commitTransaction(TransactionID tid)
abortTransaction
protected void abortTransaction(TransactionID tid)
registerCluster
private void registerCluster(ClusterID cid)
throws java.lang.Exception
java.lang.Exception
newCluster
private Cluster newCluster()
throws java.lang.Exception
java.lang.Exception
readCluster
protected Cluster readCluster(ClusterID cid,
int whatToRead)
throws java.lang.Exception
java.lang.Exception
compressCluster
protected void compressCluster(ClusterID cid)
throws java.lang.Exception
java.lang.Exception
allClusters
protected ClusterID[] allClusters()
writeObject
protected ClusterID writeObject(DeathObject dobj,
boolean serialize,
boolean useClone)
throws java.lang.Exception
java.lang.Exception
writeLeak
protected void writeLeak(ClusterID cid,
DeathObject dobj)
throws java.lang.Exception
java.lang.Exception
fillObjectSpace
protected void fillObjectSpace()
recover
protected void recover()
- do some recover stuff besides transaction rollback
rollBackTransaction
protected void rollBackTransaction(java.io.File transFlag)
throws java.lang.Exception
java.lang.Exception
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.