| java.lang.Object org.ozoneDB.core.classicStore.Cluster
Inner Class :class Chunk extends Object | |
CLUSTER_FILE_SUFF | final public static String CLUSTER_FILE_SUFF(Code) | | |
CL_HEADER_CHUNK | final public static byte CL_HEADER_CHUNK(Code) | | |
DATA | final public static int DATA(Code) | | |
DATA_CHUNK | final public static byte DATA_CHUNK(Code) | | |
DATA_HEADER_CHUNK | final public static byte DATA_HEADER_CHUNK(Code) | | |
DATA_OID_CHUNK | final public static byte DATA_OID_CHUNK(Code) | | |
LEAKS | final public static byte LEAKS(Code) | | |
LEAK_FILE_SUFF | final public static String LEAK_FILE_SUFF(Code) | | |
LEAK_WEIGHT | final public static double LEAK_WEIGHT(Code) | | |
MAX_SIZE | public static int MAX_SIZE(Code) | | |
NONE | final public static byte NONE(Code) | | |
OBJECTS | final public static byte OBJECTS(Code) | | |
STATE | final public static int STATE(Code) | | |
TRANS | final public static int TRANS(Code) | | |
VERSION | final public static int VERSION(Code) | | |
clusterSize | long clusterSize(Code) | | |
recoveryMode | byte recoveryMode(Code) | | |
beginRecovery | final public void beginRecovery(byte mode)(Code) | | |
endRecovery | final public void endRecovery(byte mode)(Code) | | |
leakFileHandle | final public File leakFileHandle()(Code) | | |
leakSize | public long leakSize()(Code) | | |
needsCompressing | protected boolean needsCompressing()(Code) | | Checks, if the specified cluster needs to be compressed.
|
readObjects | public boolean readObjects(int whatToRead, TransactionID rollBackTid) throws Exception(Code) | | reads all objects from the cluster, while dropping leaks in normal mode
or broken-transaction-objects in recovery mode;
returns false if any objects were dropped
|
size | final public long size()(Code) | | The cluster size has to different meanings:
- while writing it means the size of the cluster file, so that we can
limit the file's size as good as possible to the user defined
maximum cluster size
- while reading it means the sum of the sizes of all its death objects,
so that we can determine exactly the space we will need in the object
buffer of the cluster space
|
|
|