jdbm.recman
Interface Magic


public interface Magic

This interface contains magic cookies.


Field Summary
static short BLOCK
          Magic for blocks.
static short FILE_HEADER
          Magic cookie at start of file
static short FREE_PAGE
          Magics for blocks in certain lists.
static short FREELOGIDS_PAGE
           
static short FREEPHYSIDS_PAGE
           
static short LOGFILE_HEADER
          Magic for transaction file
static long MAX_BLOCKS
          Maximum number of blocks in a file, leaving room for a 16 bit offset encoded within a long.
static short NLISTS
          Number of lists in a file
static short SZ_BYTE
          Size of an externalized byte
static short SZ_INT
          Size of an externalized int
static short SZ_LONG
          Size of an externalized long
static short SZ_SHORT
          Size of an externalized short
static short TRANSLATION_PAGE
           
static short USED_PAGE
           
 

Field Detail

FILE_HEADER

static final short FILE_HEADER
Magic cookie at start of file

See Also:
Constant Field Values

BLOCK

static final short BLOCK
Magic for blocks. They're offset by the block type magic codes.

See Also:
Constant Field Values

FREE_PAGE

static final short FREE_PAGE
Magics for blocks in certain lists. Offset by baseBlockMagic

See Also:
Constant Field Values

USED_PAGE

static final short USED_PAGE
See Also:
Constant Field Values

TRANSLATION_PAGE

static final short TRANSLATION_PAGE
See Also:
Constant Field Values

FREELOGIDS_PAGE

static final short FREELOGIDS_PAGE
See Also:
Constant Field Values

FREEPHYSIDS_PAGE

static final short FREEPHYSIDS_PAGE
See Also:
Constant Field Values

NLISTS

static final short NLISTS
Number of lists in a file

See Also:
Constant Field Values

MAX_BLOCKS

static final long MAX_BLOCKS
Maximum number of blocks in a file, leaving room for a 16 bit offset encoded within a long.

See Also:
Constant Field Values

LOGFILE_HEADER

static final short LOGFILE_HEADER
Magic for transaction file

See Also:
Constant Field Values

SZ_BYTE

static final short SZ_BYTE
Size of an externalized byte

See Also:
Constant Field Values

SZ_SHORT

static final short SZ_SHORT
Size of an externalized short

See Also:
Constant Field Values

SZ_INT

static final short SZ_INT
Size of an externalized int

See Also:
Constant Field Values

SZ_LONG

static final short SZ_LONG
Size of an externalized long

See Also:
Constant Field Values


Cees de Groot (C) 2000. All rights reserved http://jdbm.sourceforge.net