public final class Pages extends Object
Constructor and Description |
---|
Pages(Callable<File> fileFactory,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
int |
avail() |
void |
close() |
byte[] |
get(int length) |
byte |
getByte() |
int |
getInt() |
int |
getIntVolatile() |
void |
markForRewriteAndAdvance4Bytes() |
void |
moveReadPosition(int forward) |
void |
moveWritePosition(int forward) |
void |
put(byte[] bytes,
int offset,
int length) |
void |
putByte(byte b) |
void |
putInt(int value) |
void |
putIntOrderedAtRewriteMark(int value) |
public int avail()
public void markForRewriteAndAdvance4Bytes()
public void putInt(int value)
public void put(byte[] bytes, int offset, int length)
public void putIntOrderedAtRewriteMark(int value)
public int getInt()
public byte[] get(int length)
public void putByte(byte b)
public byte getByte()
public void moveReadPosition(int forward)
public int getIntVolatile()
public void moveWritePosition(int forward)
public void close()
Copyright © 2013–2020. All rights reserved.