| Package | Description |
|---|---|
| journal.io.api |
| Modifier and Type | Method and Description |
|---|---|
static Journal.ReadType |
Journal.ReadType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Journal.ReadType[] |
Journal.ReadType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Journal.read(Location location,
Journal.ReadType read)
Read the record stored at the given
Location, either by syncing
with the disk state (if ReadType.SYNC) or by taking advantage of
speculative disk reads (if ReadType.ASYNC); the latter is faster,
while the former is slower but will suddenly detect deleted records. |
Copyright © 2014. All Rights Reserved.