public interface Magic
Modifier and Type | Field and Description |
---|---|
static short |
BLOCK
Magic for blocks.
|
static short |
FILE_HEADER
Magic cookie at start of file
|
static short |
FREE_PAGE
Magics for block types 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 |
static final short FILE_HEADER
static final short BLOCK
static final short FREE_PAGE
static final short USED_PAGE
static final short TRANSLATION_PAGE
static final short FREELOGIDS_PAGE
static final short FREEPHYSIDS_PAGE
static final short NLISTS
static final long MAX_BLOCKS
static final short LOGFILE_HEADER
static final short SZ_BYTE
static final short SZ_SHORT
static final short SZ_INT
static final short SZ_LONG
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.