org.ozoneDB.core.storage
Interface Cluster
- All Known Implementing Classes:
- AbstractCluster
- public interface Cluster
- Author:
- Per Nyfelt
env
public Env env()
setEnv
public void setEnv(Env _env)
lock
public Lock lock()
setLock
public void setLock(Lock to)
size
public int size()
clusterID
public ClusterID clusterID()
permissions
public Permissions permissions()
registerContainer
public void registerContainer(StorageObjectContainer storageObjectContainer)
containerForID
public StorageObjectContainer containerForID(ObjectID id)
containers
public DxMap containers()
modTime
public long modTime()
updateLockLevel
public void updateLockLevel(Transaction ta)
throws java.io.IOException
- Throws:
java.io.IOException
removeContainer
public void removeContainer(StorageObjectContainer container)
setCurrentSize
public void setCurrentSize(int byteSize)
touch
public void touch()
setClusterStore
public void setClusterStore(AbstractClusterStore clusterStore)
prepareCommit
public void prepareCommit(Transaction ta)
commit
public void commit(Transaction ta)
throws java.io.IOException
- Throws:
java.io.IOException
abort
public void abort(Transaction ta)
throws java.io.IOException
- Throws:
java.io.IOException
delete
public void delete()
throws java.lang.Exception
- Throws:
java.lang.Exception
cachePriority
public DxLong cachePriority()
allLockers
public DxCollection allLockers()
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.