public final class Magic extends Object
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 |
public static final short FILE_HEADER
public static final short BLOCK
public static final short FREE_PAGE
public static final short USED_PAGE
public static final short TRANSLATION_PAGE
public static final short FREELOGIDS_PAGE
public static final short FREEPHYSIDS_PAGE
public static final short NLISTS
public static final long MAX_BLOCKS
public static final short LOGFILE_HEADER
public static final short SZ_BYTE
public static final short SZ_SHORT
public static final short SZ_INT
public static final short SZ_LONG
Copyright © 2018. All rights reserved.