GigaSpaces XAP 9.7.2 API

com.sun.jini.mahalo.log
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
 Object getAdmin()
          Returns an object that implements whatever administration interfaces are appropriate for the LogManager.
 ClientLog 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 recover()
          Consumes the log file and re-constructs a system's state.
 

Method Detail

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:
Administrable

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.