org.ozoneDB.core.storage
Class AbstractClusterStore
java.lang.Object
org.ozoneDB.core.storage.AbstractClusterStore
- Direct Known Subclasses:
- ClusterStore, ClusterStore
- public abstract class AbstractClusterStore
- extends java.lang.Object
- Author:
- Per Nyfelt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POSTFIX_SEPARATOR
public static final java.lang.String POSTFIX_SEPARATOR
- See Also:
- Constant Field Values
POSTFIX_CLUSTER
public static final java.lang.String POSTFIX_CLUSTER
- See Also:
- Constant Field Values
POSTFIX_LOCK
public static final java.lang.String POSTFIX_LOCK
- See Also:
- Constant Field Values
POSTFIX_TEMP
public static final java.lang.String POSTFIX_TEMP
- See Also:
- Constant Field Values
touchCount
public transient long touchCount
env
protected transient Env env
AbstractClusterStore
public AbstractClusterStore(Env _env)
basename
public java.lang.String basename(ClusterID cid)
currentBytesPerContainer
public abstract int currentBytesPerContainer()
registerContainerAndLock
public abstract void registerContainerAndLock(StorageObjectContainer container,
Permissions perms,
Transaction locker,
int lockLevel)
throws java.lang.Exception
- Throws:
java.lang.Exception
activateCluster
protected abstract void activateCluster(Cluster cluster,
int size)
deactivateCluster
protected abstract void deactivateCluster(Cluster cluster)
throws java.io.IOException
- Throws:
java.io.IOException
prepareCommitCluster
protected abstract void prepareCommitCluster(Transaction ta,
ClusterID cid)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
commitCluster
protected abstract void commitCluster(Transaction ta,
ClusterID cid)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
abortCluster
protected abstract void abortCluster(Transaction ta,
ClusterID cid)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.