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.LogRemovalManager
public 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 ClientLog
rec
- the record to be ignored.LogException
LogRecord
public void invalidate() throws LogException
invalidate
in interface ClientLog
LogException
public void recover(LogRecovery client) throws LogException
recover
in interface Log
client
- who to inform with information from the log.LogException
LogRecovery
Copyright © GigaSpaces.