org.infinispan.schematic.internal.delta

## Class RemoveAllValuesOperation

- java.lang.Object
- - org.infinispan.schematic.internal.delta.Operation
  - - org.infinispan.schematic.internal.delta.ArrayOperation
    - - org.infinispan.schematic.internal.delta.RemoveAllValuesOperation

-     @SerializeWith(value=RemoveAllValuesOperation.Externalizer.class)
      public class RemoveAllValuesOperation
      extends ArrayOperation

  An atomic array add operation for SchematicValueDelta.
  Since:
    5.1

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `RemoveAllValuesOperation.Externalizer`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected int[]` | `actualIndexes`
    `protected Collection<?>` | `values`

    - ### Fields inherited from class org.infinispan.schematic.internal.delta.Operation

      `parentPath`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RemoveAllValuesOperation(Path path, Collection<?> values)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `RemoveAllValuesOperation` | `clone()`
    `boolean` | `equals(Object obj)`
    `List<Array.Entry>` | `getRemovedEntries()`
    `Collection<?>` | `getValuesToRemove()`
    `void` | `replay(MutableDocument delegate)`
    `void` | `rollback(MutableDocument delegate)`
    `String` | `toString()`

    - ### 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

    - #### values

          protected final Collection<?> values

    - #### actualIndexes

          protected transient int[] actualIndexes

  - ### Constructor Detail

    - #### RemoveAllValuesOperation

          public RemoveAllValuesOperation(Path path,
                                  Collection<?> values)

  - ### Method Detail

    - #### clone

          public RemoveAllValuesOperation clone()

      Specified by:
        `clone` in class `Operation`

    - #### getValuesToRemove

          public Collection<?> getValuesToRemove()

    - #### getRemovedEntries

          public List<Array.Entry> getRemovedEntries()

    - #### 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`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

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