public final class BufferPageUtils extends Object
| Constructor and Description |
|---|
BufferPageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.janusgraph.diskstorage.inmemory.BufferPage |
buildFromEntryArray(Entry[] array,
int size) |
static org.janusgraph.diskstorage.inmemory.BufferPage |
buildFromEntryArray(Entry[] array,
int start,
int end) |
static void |
dumpTo(org.janusgraph.diskstorage.inmemory.BufferPage page,
DataOutputStream out) |
static SharedEntryBuffer |
readFrom(DataInputStream in) |
static org.janusgraph.diskstorage.inmemory.BufferPage |
readPage(DataInputStream in) |
static void |
readWholeArray(DataInputStream in,
byte[] data) |
public static org.janusgraph.diskstorage.inmemory.BufferPage readPage(DataInputStream in) throws IOException
IOExceptionpublic static void readWholeArray(DataInputStream in, byte[] data) throws IOException
IOExceptionpublic static SharedEntryBuffer readFrom(DataInputStream in) throws IOException
IOExceptionpublic static org.janusgraph.diskstorage.inmemory.BufferPage buildFromEntryArray(Entry[] array, int start, int end)
public static org.janusgraph.diskstorage.inmemory.BufferPage buildFromEntryArray(Entry[] array, int size)
public static void dumpTo(org.janusgraph.diskstorage.inmemory.BufferPage page, DataOutputStream out) throws IOException
IOExceptionCopyright © 2012–2024. All rights reserved.