Interface LogManager

All Superinterfaces:
Administrable
All Known Implementing Classes:
MockLogManager, MultiLogManager

public interface LogManager extends Administrable
Represents the functions performed by a log manager.
Author:
Sun Microsystems, Inc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an object that implements whatever administration interfaces are appropriate for the LogManager.
    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.
    void
    Consumes the log file and re-constructs a system's state.
  • Method Details

    • logFor

      ClientLog logFor(long cookie) throws LogException
      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

      void recover() throws LogException
      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 the LogManager. This method overrides what is defined in the supertype.
      Specified by:
      getAdmin in interface Administrable
      Returns:
      an object that implements whatever administration interfaces are appropriate for the particular service.
      See Also: