| Constructor and Description |
|---|
TransientLogFile(long id,
MultiLogManager.LogRemovalManager lrm)
Simple constructor that simply assigns the given parameter to an internal field.
|
| Modifier and Type | Method and Description |
|---|---|
long |
cookie()
Returns the identifier associated with information in this
Log. |
void |
invalidate()
Invalidate the log.
|
void |
recover(LogRecovery client)
Recover information from the log.
|
void |
write(LogRecord rec)
Add a
LogRecord to the Log. |
public TransientLogFile(long id,
MultiLogManager.LogRemovalManager lrm)
id - the unique identifier for this logLog,
LogManager,
MultiLogManager,
MultiLogManager.LogRemovalManagerpublic long cookie()
Log.public void write(LogRecord rec) throws LogException
LogRecord to the Log. This method does nothing with the
provided argument.write in interface ClientLogrec - the record to be ignored.LogExceptionLogRecordpublic void invalidate()
throws LogException
invalidate in interface ClientLogLogExceptionpublic void recover(LogRecovery client) throws LogException
recover in interface Logclient - who to inform with information from the log.LogExceptionLogRecoveryCopyright © GigaSpaces.