| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CreatorJournalEntry.invokeAndClose(ManagementDelegate delegate,
JournalWriter writer)
A convenience method that invokes the management method and then closes
the JournalEntry, thereby cleaning up any temp files.
|
Object |
CreatorJournalEntry.invokeMethod(ManagementDelegate delegate,
JournalWriter writer)
Process the management method:
Check the operating mode - if we are in
Read-Only mode, this check will
throw an exception.
Prepare the writer in case we need to initialize a new file with a
repository hash.
Invoke the method on the ManagementDelegate.
Write the full journal entry, including any context changes from the
Management method.
These operations occur within a synchronized block. |
| Modifier and Type | Class and Description |
|---|---|
class |
MulticastJournalWriter
SYNCHRONIZATION NOTE: All public methods are synchronized against
JournalWriter.SYNCHRONIZER, as is the closeFile
method. |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiFileJournalWriter
An implementation of JournalWriter that writes a series of Journal files to a
specified directory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SingleFileJournalWriter
A rudimentary implementation of JournalWriter that just writes all entries to
a single Journal file.
|
Copyright © 2013 DuraSpace. All Rights Reserved.