| Modifier and Type | Field and Description |
|---|---|
protected JournalRecoveryLog |
JournalReader.recoveryLog |
| Modifier and Type | Method and Description |
|---|---|
static JournalReader |
JournalReader.getInstance(Map<String,String> parameters,
String role,
JournalRecoveryLog recoveryLog,
ServerInterface server)
Create an instance of the proper JournalReader child class, as determined
by the server parameters.
|
| Constructor and Description |
|---|
JournalConsumerThread(Map<String,String> parameters,
String role,
ServerInterface server,
JournalReader reader,
JournalRecoveryLog recoveryLog)
Store references to all of this stuff, but we can't start work without a
ManagementDelegate is provided, and we won't get that until the
post-initialization stage.
|
JournalReader(Map<String,String> parameters,
String role,
JournalRecoveryLog recoveryLog,
ServerInterface server)
Concrete sub-classes must implement this constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConsumerJournalEntry.invokeMethod(ManagementDelegate delegate,
JournalRecoveryLog recoveryLog) |
| Constructor and Description |
|---|
LockingFollowingJournalReader(Map<String,String> parameters,
String role,
JournalRecoveryLog recoveryLog,
ServerInterface server)
Require parameters for polling interval, lock request filename and lock
acceptance filename.
|
MultiFileFollowingJournalReader(Map<String,String> parameters,
String role,
JournalRecoveryLog recoveryLog,
ServerInterface server)
Do the super-class constructor, and then find the polling interval.
|
MultiFileJournalReader(Map<String,String> parameters,
String role,
JournalRecoveryLog recoveryLog,
ServerInterface server) |
| Constructor and Description |
|---|
SingleFileJournalReader(Map<String,String> parameters,
String role,
JournalRecoveryLog recoveryLog,
ServerInterface server)
Get the name of the journal file from the server parameters, wrap it in
an XMLEventReader, and advance past the document header to the first
JournalEntry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedJournalRecoveryLog
A simple implementation of JournalRecoveryLog that keeps the entire log in a
StringBuffer, and writes it to a file on shutdown().
|
class |
RenamingJournalRecoveryLog
A production-oriented implementation of
JournalRecoveryLog. |
class |
UnbufferedJournalRecoveryLog
A basic implementation of RecoveryLog.
|
| Modifier and Type | Method and Description |
|---|---|
static JournalRecoveryLog |
JournalRecoveryLog.getInstance(Map<String,String> parameters,
String role,
ServerInterface server)
Create an instance of the proper JournalRecoveryLog child class, as
determined by the server parameters.
|
Copyright © 2013 DuraSpace. All Rights Reserved.