Package com.sun.jini.mahalo.log
Class TransientLogFile
java.lang.Object
com.sun.jini.mahalo.log.TransientLogFile
An implementation of a non-persistent
Log.- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransientLogFile(long id, MultiLogManager.LogRemovalManager lrm) Simple constructor that simply assigns the given parameter to an internal field. -
Method Summary
Modifier and TypeMethodDescriptionlongcookie()Returns the identifier associated with information in thisLog.voidInvalidate the log.voidrecover(LogRecovery client) Recover information from the log.voidAdd aLogRecordto theLog.
-
Constructor Details
-
TransientLogFile
Simple constructor that simply assigns the given parameter to an internal field.- Parameters:
id- the unique identifier for this log- See Also:
-
-
Method Details
-
cookie
public long cookie()Returns the identifier associated with information in thisLog. -
write
Add aLogRecordto theLog. This method does nothing with the provided argument.- Specified by:
writein interfaceClientLog- Parameters:
rec- the record to be ignored.- Throws:
LogException- See Also:
-
invalidate
Invalidate the log.- Specified by:
invalidatein interfaceClientLog- Throws:
LogException
-
recover
Recover information from the log. Does nothing.- Specified by:
recoverin interfaceLog- Parameters:
client- who to inform with information from the log.- Throws:
LogException- See Also:
-