ModeShape Distribution 3.2.0.Final

org.infinispan.schematic.internal.delta
Class AddValueIfAbsentOperation

java.lang.Object
  extended by org.infinispan.schematic.internal.delta.Operation
      extended by org.infinispan.schematic.internal.delta.ArrayOperation
          extended by org.infinispan.schematic.internal.delta.AddValueOperation
              extended by org.infinispan.schematic.internal.delta.AddValueIfAbsentOperation

@SerializeWith(value=AddValueIfAbsentOperation.Externalizer.class)
public class AddValueIfAbsentOperation
extends AddValueOperation

An atomic array add operation for SchematicValueDelta.

Since:
5.1

Nested Class Summary
static class AddValueIfAbsentOperation.Externalizer
           
 
Field Summary
protected  boolean added
           
 
Fields inherited from class org.infinispan.schematic.internal.delta.AddValueOperation
actualIndex, APPEND_INDEX, index, value
 
Fields inherited from class org.infinispan.schematic.internal.delta.Operation
parentPath
 
Constructor Summary
AddValueIfAbsentOperation(Path path, Object value)
           
 
Method Summary
 boolean equals(Object obj)
           
 boolean isAdded()
           
 void replay(MutableDocument delegate)
           
 void rollback(MutableDocument delegate)
           
 String toString()
           
 
Methods inherited from class org.infinispan.schematic.internal.delta.AddValueOperation
clone, getActualIndex, getIndex, getValue
 
Methods inherited from class org.infinispan.schematic.internal.delta.ArrayOperation
cloneValues, mutableParent
 
Methods inherited from class org.infinispan.schematic.internal.delta.Operation
cloneValue, equalsIfNotNull, getParentPath, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

added

protected transient boolean added
Constructor Detail

AddValueIfAbsentOperation

public AddValueIfAbsentOperation(Path path,
                                 Object value)
Method Detail

isAdded

public boolean isAdded()

rollback

public void rollback(MutableDocument delegate)
Overrides:
rollback in class AddValueOperation

replay

public void replay(MutableDocument delegate)
Overrides:
replay in class AddValueOperation

toString

public String toString()
Overrides:
toString in class AddValueOperation

equals

public boolean equals(Object obj)
Overrides:
equals in class AddValueOperation

ModeShape Distribution 3.2.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.