org.ozoneDB.core.storage
Class AbstractCluster
java.lang.Object
org.ozoneDB.core.storage.AbstractCluster
- All Implemented Interfaces:
- Cluster
- Direct Known Subclasses:
- WizardCluster
- public abstract class AbstractCluster
- extends java.lang.Object
- implements Cluster
- Author:
- Per Nyfelt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ozoneDB.core.storage.Cluster |
abort, allLockers, cachePriority, commit, delete, lock, modTime, prepareCommit, setCurrentSize, setLock, size, touch, updateLockLevel |
env
public transient Env env
- The environment. Will be set by the clusterStore.
clusterStore
public transient AbstractClusterStore clusterStore
permissions
protected Permissions permissions
clusterID
protected ClusterID clusterID
containers
protected DxMap containers
- Maps ObjectIDs into StorageObjectContainers.
AbstractCluster
public AbstractCluster()
containers
public DxMap containers()
- Specified by:
containers
in interface Cluster
env
public Env env()
- Specified by:
env
in interface Cluster
setEnv
public void setEnv(Env _env)
- Specified by:
setEnv
in interface Cluster
setClusterStore
public void setClusterStore(AbstractClusterStore _clusterStore)
- Specified by:
setClusterStore
in interface Cluster
permissions
public Permissions permissions()
- Specified by:
permissions
in interface Cluster
clusterID
public ClusterID clusterID()
- Specified by:
clusterID
in interface Cluster
containerForID
public StorageObjectContainer containerForID(ObjectID id)
- Specified by:
containerForID
in interface Cluster
removeContainer
public void removeContainer(StorageObjectContainer container)
- Specified by:
removeContainer
in interface Cluster
registerContainer
public void registerContainer(StorageObjectContainer container)
- Specified by:
registerContainer
in interface Cluster
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.