| Modifier and Type | Field and Description |
|---|---|
| private final TreeMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | free(long
the position in bytes pos, int the number of bytes length)Overrides org. Mark the space as free. |
| public int | getDefaultRetentionTime()
Overrides org. Get the default retention time for this store in milliseconds. |
| private void | |
| public void | open(String fileName, boolean readOnly, char[] encryptionKey)
Implements abstract org.
|
| public OffHeapStore | |
| public ByteBuffer | readFully(SFChunk
that owns data to be read chunk, long the read "position" pos, int the number of bytes to read len)Implements abstract org. Read data from the store. |
| public String | |
| public void | |
| public void | writeFully(SFChunk
to write chunk, long the write position pos, ByteBuffer the source buffer src)Implements abstract org. Write to the file. |
| private void |
| memory | back to summary |
|---|---|
| private final TreeMap<Long, ByteBuffer> memory | |
| OffHeapStore | back to summary |
|---|---|
| public OffHeapStore() | |
| backup | back to summary |
|---|---|
| public void backup(ZipOutputStream out) Implements abstract org.
| |
| free | back to summary |
|---|---|
| public void free(long pos, int length) Overrides org. Doc from org. Mark the space as free.
| |
| getDefaultRetentionTime | back to summary |
|---|---|
| public int getDefaultRetentionTime() Overrides org. Doc from org. Get the default retention time for this store in milliseconds.
| |
| init | back to summary |
|---|---|
| private void init() | |
| open | back to summary |
|---|---|
| public void open(String fileName, boolean readOnly, char[] encryptionKey) Implements abstract org.
| |
| open | back to summary |
|---|---|
| public OffHeapStore open(String fileName, boolean readOnly) Implements abstract org.
| |
| readFully | back to summary |
|---|---|
| public ByteBuffer readFully(SFChunk chunk, long pos, int len) Implements abstract org. Doc from org. Read data from the store.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| truncate | back to summary |
|---|---|
| public void truncate(long size) Implements abstract org.
| |
| writeFully | back to summary |
|---|---|
| public void writeFully(SFChunk chunk, long pos, ByteBuffer src) Implements abstract org. Doc from org. Write to the file.
| |
| writeNewEntry | back to summary |
|---|---|
| private void writeNewEntry(long pos, ByteBuffer src) | |