| Modifier and Type | Class and Description |
|---|---|
class |
ServerWrapper
Wrap a Server in an object that implements an interface, so it can be passed
to the JournalWorker classes and their dependents.
|
| Modifier and Type | Field and Description |
|---|---|
protected ServerInterface |
JournalWriter.server |
protected ServerInterface |
JournalReader.server |
| 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.
|
static JournalWriter |
JournalWriter.getInstance(Map<String,String> parameters,
String role,
ServerInterface server)
Create an instance of the proper JournalWriter child class, as determined
by the server parameters.
|
| Constructor and Description |
|---|
JournalConsumer(Map<String,String> parameters,
String role,
ServerInterface server)
Get the appropriate JournalReader and JournalRecoveryLog, based on the
server parameters, and create a JournalConsumerThread that will process
the journal entries, using that reader and that logger.
|
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.
|
JournalCreator(Map<String,String> parameters,
String role,
ServerInterface server)
Get a JournalWriter to use, based on the server parameters.
|
JournalReader(Map<String,String> parameters,
String role,
JournalRecoveryLog recoveryLog,
ServerInterface server)
Concrete sub-classes must implement this constructor.
|
JournalWriter(Map<String,String> parameters,
String role,
ServerInterface server)
Concrete sub-classes must implement this constructor.
|
| Constructor and Description |
|---|
MulticastJournalWriter(Map<String,String> parameters,
String role,
ServerInterface server) |
| 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) |
MultiFileJournalWriter(Map<String,String> parameters,
String role,
ServerInterface server)
Parse the parameters to find out how we are operating.
|
| 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.
|
SingleFileJournalWriter(Map<String,String> parameters,
String role,
ServerInterface server)
Get the name of the journal file from the server parameters, create the
file, wrap it in an XMLEventWriter, and initialize it with a document
header.
|
| Modifier and Type | Field and Description |
|---|---|
protected ServerInterface |
JournalRecoveryLog.server |
| 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.
|
| Constructor and Description |
|---|
BufferedJournalRecoveryLog(Map<String,String> parameters,
String role,
ServerInterface server)
Get the name of the log file from the server parameters, but don't create
the file yet.
|
JournalRecoveryLog(Map<String,String> parameters,
String role,
ServerInterface server)
Concrete sub-classes must implement this constructor.
|
RenamingJournalRecoveryLog(Map<String,String> parameters,
String role,
ServerInterface server) |
UnbufferedJournalRecoveryLog(Map<String,String> parameters,
String role,
ServerInterface server)
Get the name of the logfile from the server parameters and create the
file.
|
Copyright © 2013 DuraSpace. All Rights Reserved.