|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITransaction
Method Summary | |
---|---|
void |
clear()
clear the transaction |
void |
commit()
Execute the commit process of the transaction |
java.lang.String |
getName()
|
int |
getNumberOfWriteActions()
|
boolean |
isArchiveLog()
|
boolean |
isCommited()
|
void |
manageWriteAction(long position,
byte[] bytes)
The public method to add a write action to the transaction. |
void |
reset()
Reset the transaction |
void |
rollback()
|
void |
setArchiveLog(boolean archiveLog)
|
void |
setFsiToApplyWriteActions(IFileSystemInterface fsi)
|
void |
setWritePosition(long position)
Set the write position (position in main database file). |
Method Detail |
---|
void clear()
java.lang.String getName()
boolean isCommited()
void rollback()
void commit()
java.lang.Exception
void setFsiToApplyWriteActions(IFileSystemInterface fsi)
boolean isArchiveLog()
void setArchiveLog(boolean archiveLog)
archiveLog
- The archiveLog to set.void manageWriteAction(long position, byte[] bytes)
position
- bytes
- int getNumberOfWriteActions()
void setWritePosition(long position)
position
- void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |