org.terracotta.modules.ehcache.xa
Class PreparedContextClusteredImpl

java.lang.Object
  extended by org.terracotta.modules.ehcache.xa.PreparedContextClusteredImpl
All Implemented Interfaces:
net.sf.ehcache.transaction.xa.PreparedContext

public class PreparedContextClusteredImpl
extends Object
implements net.sf.ehcache.transaction.xa.PreparedContext


Constructor Summary
PreparedContextClusteredImpl(ClusteredStore store)
           
 
Method Summary
 void addCommand(net.sf.ehcache.transaction.xa.VersionAwareCommand command)
           
 List<net.sf.ehcache.transaction.xa.PreparedCommand> getPreparedCommands()
           
 Object[] getUpdatedKeys()
           
 boolean isCommitted()
           
 boolean isRolledBack()
           
 void setCommitted(boolean commited)
           
 void setRolledBack(boolean rolledBack)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreparedContextClusteredImpl

public PreparedContextClusteredImpl(ClusteredStore store)
Method Detail

addCommand

public void addCommand(net.sf.ehcache.transaction.xa.VersionAwareCommand command)
Specified by:
addCommand in interface net.sf.ehcache.transaction.xa.PreparedContext

getPreparedCommands

public List<net.sf.ehcache.transaction.xa.PreparedCommand> getPreparedCommands()
Specified by:
getPreparedCommands in interface net.sf.ehcache.transaction.xa.PreparedContext

getUpdatedKeys

public Object[] getUpdatedKeys()
Specified by:
getUpdatedKeys in interface net.sf.ehcache.transaction.xa.PreparedContext

isRolledBack

public boolean isRolledBack()
Specified by:
isRolledBack in interface net.sf.ehcache.transaction.xa.PreparedContext

setRolledBack

public void setRolledBack(boolean rolledBack)
Specified by:
setRolledBack in interface net.sf.ehcache.transaction.xa.PreparedContext

isCommitted

public boolean isCommitted()
Specified by:
isCommitted in interface net.sf.ehcache.transaction.xa.PreparedContext

setCommitted

public void setCommitted(boolean commited)
Specified by:
setCommitted in interface net.sf.ehcache.transaction.xa.PreparedContext


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.