|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JournalStorage
Journal storare provides bulk storage to the journal objects being stored.
| Method Summary | |
|---|---|
void |
commitSave(JournalStorageState jss)
perform the commit on the transaction in jss |
JournalStorageState |
prepareSave(String location,
long transactionId)
prepare the current transaction for commit, 2PC |
void |
retrieveSavePoint(long savePoint,
String workingSpace)
Get a savePoint from the committed store into a permanent local space, indexed on the transaction or savePoint id |
void |
rollbackSave(JournalStorageState jss)
rollback the transaction in jss |
| Method Detail |
|---|
void retrieveSavePoint(long savePoint,
String workingSpace)
throws IOException
savePoint - workingSpace -
IOException
JournalStorageState prepareSave(String location,
long transactionId)
throws IOException
location - transactionId -
IOException
void commitSave(JournalStorageState jss)
throws IOException
jss -
IOExceptionvoid rollbackSave(JournalStorageState jss)
jss -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||