public class MockLogManager extends Object implements LogManager, FileModes, Administrable, MultiLogManagerAdmin
| Constructor and Description |
|---|
MockLogManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Clean up all
LogFile objects on behalf of caller. |
Object |
getAdmin()
Retrieves the administration interface for the
MultiLogManager |
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.
|
public ClientLog logFor(long cookie) throws LogException
LogManagerlogFor in interface LogManagercookie - identifier representing the information being logged.LogExceptionpublic void recover()
throws LogException
recover in interface LogManagerLogExceptionpublic Object getAdmin()
MultiLogManagergetAdmin in interface LogManagergetAdmin in interface AdministrableAdministrablepublic void destroy()
LogFile objects on behalf of caller.destroy in interface DestroyAdmindestroy in interface MultiLogManagerAdminDestroyAdmin,
FileSystemCopyright © GigaSpaces.