ozone core API

org.ozoneDB.core.classicStore
Class ClusterSpace

java.lang.Object
  |
  +--org.ozoneDB.core.classicStore.ClusterSpace

public class ClusterSpace
extends java.lang.Object


Field Summary
protected  int activatedObjects
           
protected  ClassicStore classicStore
           
protected  DeathObjectBuffer dobjBuffer
           
protected  Env env
          The environment of this object.
protected  int loadedClusters
           
protected  int maxBufferSize
           
protected  PersistenceSpace persistenceSpace
           
 
Constructor Summary
ClusterSpace(Env _env)
          Constructor
 
Method Summary
protected  void abortTransaction(TransactionID tid)
           
protected  void activateObject(ObjectContainer container)
           
protected  void commitTransaction(TransactionID tid)
           
private  boolean freeSpace(long size)
           
private  boolean loadCluster(ClusterID cid)
          laedt den cluster cid und fuegt die objekte in die tabelle ein
protected  void prepareCommit(TransactionID tid, DxCollection created, DxCollection modified)
           
protected  void setSizes(int csSize, int clSize)
           
protected  void shutdown()
           
protected  void startup()
           
protected  void touchObject(ObjectID oid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ClusterSpace

public ClusterSpace(Env _env)
Constructor

Method Detail

startup

protected void startup()
                throws java.lang.Exception
java.lang.Exception

shutdown

protected void shutdown()
                 throws java.lang.Exception
java.lang.Exception

setSizes

protected void setSizes(int csSize,
                        int clSize)

activateObject

protected void activateObject(ObjectContainer container)
                       throws java.lang.Exception
java.lang.Exception

prepareCommit

protected void prepareCommit(TransactionID tid,
                             DxCollection created,
                             DxCollection modified)
                      throws java.lang.Exception
java.lang.Exception

commitTransaction

protected void commitTransaction(TransactionID tid)

abortTransaction

protected void abortTransaction(TransactionID tid)
                         throws java.lang.Exception
java.lang.Exception

touchObject

protected void touchObject(ObjectID oid)

loadCluster

private boolean loadCluster(ClusterID cid)
                     throws java.lang.Exception
laedt den cluster cid und fuegt die objekte in die tabelle ein

java.lang.Exception

freeSpace

private boolean freeSpace(long size)

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.