|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.transaction.xa.PreparedContextImpl
public class PreparedContextImpl
| Constructor Summary | |
|---|---|
PreparedContextImpl()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreparedContextImpl()
| Method Detail |
|---|
public void addCommand(VersionAwareCommand command)
addCommand in interface PreparedContextcommand - the command to be added to the queuepublic java.util.List<PreparedCommand> getPreparedCommands()
getPreparedCommands in interface PreparedContextpublic java.util.Set<java.lang.Object> getUpdatedKeys()
getUpdatedKeys in interface PreparedContextpublic boolean isRolledBack()
isRolledBack in interface PreparedContextpublic boolean isCommitted()
isCommitted in interface PreparedContextpublic void setRolledBack(boolean rolledBack)
setRolledBack in interface PreparedContextrolledBack - true, if was rolled back, false otherwisepublic void setCommitted(boolean commited)
setCommitted in interface PreparedContextcommited - true, if was commited, false otherwise
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||