|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jini.mahalo.log.MockLogManager
public class MockLogManager
mock log manager for transient mahalo
| Field Summary |
|---|
| Fields inherited from interface com.sun.jini.mahalo.log.FileModes |
|---|
RDONLY, READWRITE, WRONLY |
| Constructor Summary | |
|---|---|
MockLogManager()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockLogManager()
| Method Detail |
|---|
public ClientLog logFor(long cookie)
throws LogException
LogManager
logFor in interface LogManagercookie - identifier representing the information
being logged.
LogException
public void recover()
throws LogException
recover in interface LogManagerLogExceptionpublic Object getAdmin()
MultiLogManager
getAdmin in interface LogManagergetAdmin in interface AdministrableAdministrablepublic void destroy()
LogFile objects on behalf of caller.
destroy in interface DestroyAdmindestroy in interface MultiLogManagerAdminDestroyAdmin,
FileSystem
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||