org.infinispan.atomic
Class Operation<K,V>

java.lang.Object
  extended by org.infinispan.atomic.Operation<K,V>
All Implemented Interfaces:
Externalizable, Serializable
Direct Known Subclasses:
ClearOperation, PutOperation, RemoveOperation

public abstract class Operation<K,V>
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
Operation()
           
 
Method Summary
 void readExternal(ObjectInput in)
           
abstract  void replay(Map<K,V> delegate)
           
abstract  void rollback(Map<K,V> delegate)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operation

public Operation()
Method Detail

replay

public abstract void replay(Map<K,V> delegate)

rollback

public abstract void rollback(Map<K,V> delegate)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.