com.faunos.skwish.sys.mgr
Class FileConventions
java.lang.Object
com.faunos.skwish.sys.mgr.FileConventions
public class FileConventions
- extends Object
The file conventions used by the Store
.
Segments are represented as named directories. The filenames
within a segment directory are named in a manner that is
independent of the parent (segment) directory name.
- Author:
- Babak Farhang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_FILE
public static final String VERSION_FILE
- See Also:
- Constant Field Values
VERSION_PREFIX
public static final String VERSION_PREFIX
- See Also:
- Constant Field Values
COMMITTED_DIR
public static final String COMMITTED_DIR
- See Also:
- Constant Field Values
PENDING_DIR
public static final String PENDING_DIR
- See Also:
- Constant Field Values
UNIT_DIR_PREFIX
public static final String UNIT_DIR_PREFIX
- See Also:
- Constant Field Values
INDEX_FILE
public static final String INDEX_FILE
- See Also:
- Constant Field Values
ENTRY_FILE
public static final String ENTRY_FILE
- See Also:
- Constant Field Values
DELETE_SET_FILE
public static final String DELETE_SET_FILE
- See Also:
- Constant Field Values
LOCK_FILE
public static final String LOCK_FILE
- See Also:
- Constant Field Values
TXN_GAP_FILE
public static final String TXN_GAP_FILE
- See Also:
- Constant Field Values
UNIT_DIR_FILTER
public static final FileFilter UNIT_DIR_FILTER
toUnitDirNumber
public static int toUnitDirNumber(String dirname)
toUnitDirname
public static String toUnitDirname(int dirNumber)