org.infinispan.schematic.internal.delta
Class Operation
java.lang.Object
org.infinispan.schematic.internal.delta.Operation
- Direct Known Subclasses:
- ArrayOperation, PutIfAbsentOperation, PutOperation, RemoveOperation
@Immutable
public abstract class Operation
- extends Object
An atomic operation for SchematicValueDelta.
Constructor Summary |
protected |
Operation(Path parentPath,
int hashCode)
|
parentPath
protected final Path parentPath
Operation
protected Operation(Path parentPath,
int hashCode)
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
replay
public abstract void replay(MutableDocument delegate)
rollback
public abstract void rollback(MutableDocument delegate)
getParentPath
public Path getParentPath()
mutableParent
protected MutableDocument mutableParent(MutableDocument delegate)
clone
public abstract Operation clone()
- Overrides:
clone
in class Object
cloneValue
protected Object cloneValue(Object value)
equalsIfNotNull
protected boolean equalsIfNotNull(Object obj1,
Object obj2)
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.