|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectLog
manager, being some entity that allows the following.
Method Summary | |
---|---|
void |
close()
Closes the log after use. |
void |
delete(Object id)
Delete the given object from the log. |
void |
flush(Recoverable recoverable)
Flush to permanent memory. |
void |
init()
Initialize the object log. |
Vector |
recover()
Recover all non-deleted object images flushed so far. |
Recoverable |
recover(Object id)
|
Method Detail |
---|
void flush(Recoverable recoverable) throws LogException
recoverable
- Recoverable instance. NOTE: if the instance has the same
ObjectId as a previous one, then the latter will be overridden
by this one! More precisely, history() will only return the
last image for a given ObjectId.
LogException
- if it did not work.void init() throws LogException
LogException
- If error occurs.Vector recover() throws LogException
LogException
Recoverable recover(Object id) throws LogException
LogException
void delete(Object id) throws LogException
id
- The object UID.
LogException
- on failure.void close() throws LogException
LogException
- on failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |