com.faunos.skwish.sys.mgr
Class FileConventions

java.lang.Object
  extended by 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

Field Summary
static String COMMITTED_DIR
           
static String DELETE_SET_FILE
           
static String ENTRY_FILE
           
static String INDEX_FILE
           
static String LOCK_FILE
           
static String PENDING_DIR
           
static String TXN_GAP_FILE
           
static FileFilter UNIT_DIR_FILTER
           
static String UNIT_DIR_PREFIX
           
static String VERSION_FILE
           
static String VERSION_PREFIX
           
 
Method Summary
static String toUnitDirname(int dirNumber)
           
static int toUnitDirNumber(String dirname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

toUnitDirNumber

public static int toUnitDirNumber(String dirname)

toUnitDirname

public static String toUnitDirname(int dirNumber)


SourceForge.net Logo