public final class CASWALPage extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_RECORD_SIZE |
static int |
DEFAULT_PAGE_SIZE |
static long |
MAGIC_NUMBER |
static int |
MAGIC_NUMBER_OFFSET
Offset of magic number value.
|
static long |
MAGIC_NUMBER_WITH_ENCRYPTION |
static int |
PAGE_SIZE_OFFSET |
static int |
RECORDS_OFFSET |
static int |
XX_OFFSET
Offset of position which stores CRC32 value of content stored on this page.
|
Constructor and Description |
---|
CASWALPage() |
Modifier and Type | Method and Description |
---|---|
static int |
calculateSerializedSize(int recordSize)
Calculates how much space record will consume once it will be stored inside of page.
|
public static final long MAGIC_NUMBER
public static final long MAGIC_NUMBER_WITH_ENCRYPTION
public static final int MAGIC_NUMBER_OFFSET
public static final int XX_OFFSET
public static final int PAGE_SIZE_OFFSET
public static final int DEFAULT_PAGE_SIZE
public static final int RECORDS_OFFSET
public static final int DEFAULT_MAX_RECORD_SIZE
Copyright © 2009–2020 OrientDB. All rights reserved.