Package com.sun.jini.mahalo.log
Interface LogManager
- All Superinterfaces:
Administrable
- All Known Implementing Classes:
MockLogManager,MultiLogManager
Represents the functions performed by a log manager.
- Author:
- Sun Microsystems, Inc.
-
Method Summary
Modifier and TypeMethodDescriptiongetAdmin()Returns an object that implements whatever administration interfaces are appropriate for theLogManager.logFor(long cookie) Factory method which returns a Log interface which can be used to create persistent records which collectively represent a system's state.voidrecover()Consumes the log file and re-constructs a system's state.
-
Method Details
-
logFor
Factory method which returns a Log interface which can be used to create persistent records which collectively represent a system's state.- Parameters:
cookie- identifier representing the information being logged.- Throws:
LogException
-
recover
Consumes the log file and re-constructs a system's state.- Throws:
LogException
-
getAdmin
Object getAdmin()Returns an object that implements whatever administration interfaces are appropriate for theLogManager. This method overrides what is defined in the supertype.- Specified by:
getAdminin interfaceAdministrable- Returns:
- an object that implements whatever administration interfaces are appropriate for the particular service.
- See Also:
-