|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.server.journal.recoverylog.JournalRecoveryLog
fedora.server.journal.recoverylog.UnbufferedJournalRecoveryLog
RenamingJournalRecoveryLog.
@Deprecated public class UnbufferedJournalRecoveryLog
Title: UnbufferedJournalRecoveryLog.java
Description: A basic implementation of RecoveryLog. All entries are written to a log, which is flushed after each entry so the log will be up to date even if the server crashes.
| Field Summary |
|---|
| Fields inherited from class fedora.server.journal.recoverylog.JournalRecoveryLog |
|---|
server |
| Constructor Summary | |
|---|---|
UnbufferedJournalRecoveryLog(java.util.Map<java.lang.String,java.lang.String> parameters,
java.lang.String role,
ServerInterface server)
Deprecated. Get the name of the logfile from the server parameters and create the file. |
|
| Method Summary | |
|---|---|
void |
log(java.lang.String message)
Deprecated. A request to log a message just writes it to the log file and flushes it (if shutdown has not been called). |
void |
shutdown()
Deprecated. On the first call to this method, close the log file. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class fedora.server.journal.recoverylog.JournalRecoveryLog |
|---|
getInstance, log, log, logHeaderInfo, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnbufferedJournalRecoveryLog(java.util.Map<java.lang.String,java.lang.String> parameters,
java.lang.String role,
ServerInterface server)
throws ModuleInitializationException
ModuleInitializationException| Method Detail |
|---|
public void log(java.lang.String message)
log in class JournalRecoveryLogpublic void shutdown()
shutdown in class JournalRecoveryLogpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||