org.infinispan.schematic.internal.delta
Class PutIfAbsentOperation
java.lang.Object
org.infinispan.schematic.internal.delta.Operation
org.infinispan.schematic.internal.delta.PutIfAbsentOperation
@SerializeWith(value=PutIfAbsentOperation.Externalizer.class)
public class PutIfAbsentOperation
- extends Operation
An atomic put-if-absent operation for SchematicValueDelta.
fieldName
protected final String fieldName
newValue
protected final Object newValue
PutIfAbsentOperation
public PutIfAbsentOperation(Path parentPath,
String fieldName,
Object newValue)
clone
public PutIfAbsentOperation clone()
- Specified by:
clone
in class Operation
getNewValue
public Object getNewValue()
getFieldName
public String getFieldName()
isApplied
public boolean isApplied()
rollback
public void rollback(MutableDocument delegate)
- Specified by:
rollback
in class Operation
replay
public void replay(MutableDocument delegate)
- Specified by:
replay
in class Operation
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.