Package | Description |
---|---|
org.apache.activeio.journal |
Provides the API for storing and accessing record based binary data in sequential log files.
|
org.apache.activeio.journal.active |
The Active Journal is a high performance Journal implemenation which does not
place limits on how big the data being logged can be.
|
org.apache.activeio.journal.howl |
A Journal implemenation using using a high performance transaction log
implemented using Howl
|
Modifier and Type | Method | Description |
---|---|---|
RecordLocation |
Journal.getMark() |
Obtains the mark that was set in the Journal.
|
RecordLocation |
Journal.getNextRecordLocation(RecordLocation location) |
Allows you to get the next RecordLocation after the
location that
is in the journal. |
RecordLocation |
Journal.write(Packet packet,
boolean sync) |
Writes a {@see Packet} of data to the journal.
|
Modifier and Type | Method | Description |
---|---|---|
RecordLocation |
Journal.getNextRecordLocation(RecordLocation location) |
Allows you to get the next RecordLocation after the
location that
is in the journal. |
void |
JournalEventListener.overflowNotification(RecordLocation safeLocation) |
This event is issues when a Journal implementations wants to recover
disk space used by old records.
|
Packet |
Journal.read(RecordLocation location) |
Reads a previously written record from the journal.
|
void |
Journal.setMark(RecordLocation location,
boolean sync) |
Informs the journal that all the journal space up to the
location is no longer
needed and can be reclaimed for reuse. |
Modifier and Type | Class | Description |
---|---|---|
class |
Location |
Defines a where a record can be located in the Journal.
|
Modifier and Type | Method | Description |
---|---|---|
RecordLocation |
JournalImpl.getMark() |
|
RecordLocation |
JournalImpl.getNextRecordLocation(RecordLocation lastLocation) |
|
RecordLocation |
JournalImpl.write(Packet data,
boolean sync) |
Modifier and Type | Method | Description |
---|---|---|
RecordLocation |
JournalImpl.getNextRecordLocation(RecordLocation lastLocation) |
|
Packet |
JournalImpl.read(RecordLocation l) |
|
void |
JournalImpl.setMark(RecordLocation l,
boolean force) |
Modifier and Type | Class | Description |
---|---|---|
class |
LongRecordLocation |
Provides a RecordLocation implementation for the long based
location pointers that HOWL uses.
|
Copyright © 2005–2018. All rights reserved.