|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreparedContext
Method Summary | |
---|---|
void |
addCommand(VersionAwareCommand command)
Add prepared command |
java.util.List<PreparedCommand> |
getPreparedCommands()
Return list of prepared commands |
java.util.Set<java.lang.Object> |
getUpdatedKeys()
return set of keys associated with prepared commands |
boolean |
isCommitted()
Checks whether the transaction branch associated with this context was commited internally |
boolean |
isRolledBack()
Checks whether the transaction branch associated with this context was rolled back internally |
void |
setCommitted(boolean commited)
Marks the transaction branch associated with this context as commited |
void |
setRolledBack(boolean rolledBack)
Marks the transaction branch associated with this context as rolled back |
Method Detail |
---|
void addCommand(VersionAwareCommand command)
command
- the command to be added to the queuejava.util.List<PreparedCommand> getPreparedCommands()
java.util.Set<java.lang.Object> getUpdatedKeys()
boolean isRolledBack()
boolean isCommitted()
void setRolledBack(boolean rolledBack)
rolledBack
- true, if was rolled back, false otherwisevoid setCommitted(boolean commited)
commited
- true, if was commited, false otherwise
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |