org.ozoneDB.core.storage.classicStore
Class ClusterSpace
java.lang.Object
org.ozoneDB.core.storage.classicStore.ClusterSpace
- public class ClusterSpace
- extends java.lang.Object
- Author:
- SMB
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
env
protected Env env
- The environment of this object.
classicStore
protected ClassicStore classicStore
persistenceSpace
protected PersistenceSpace persistenceSpace
dobjBuffer
protected DeathObjectBuffer dobjBuffer
activatedObjects
protected int activatedObjects
loadedClusters
protected int loadedClusters
maxBufferSize
protected int maxBufferSize
ClusterSpace
public ClusterSpace(Env _env)
- Constructor
startup
protected void startup()
throws java.lang.Exception
- Throws:
java.lang.Exception
shutdown
protected void shutdown()
throws java.lang.Exception
- Throws:
java.lang.Exception
setSizes
protected void setSizes(int csSize,
int clSize)
activateObject
protected void activateObject(ObjectContainer container)
throws java.lang.Exception
- Throws:
java.lang.Exception
prepareCommit
protected void prepareCommit(TransactionID tid,
DxCollection created,
DxCollection modified)
throws org.ozoneDB.OzoneInternalException
- Throws:
org.ozoneDB.OzoneInternalException
commitTransaction
protected void commitTransaction(TransactionID tid)
abortTransaction
protected void abortTransaction(TransactionID tid)
throws java.lang.Exception
- Throws:
java.lang.Exception
touchObject
protected void touchObject(ObjectID oid)
loadCluster
private boolean loadCluster(ClusterID cid)
throws org.ozoneDB.OzoneInternalException
- laedt den cluster cid und fuegt die objekte in die tabelle ein
- Throws:
org.ozoneDB.OzoneInternalException
freeSpace
private boolean freeSpace(long size)
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.