Interface Diff<T>

All Superinterfaces:
Writeable
All Known Subinterfaces:
NamedDiff<T>
All Known Implementing Classes:
DiffableStringMap.DiffableStringMapDiff, DiffableUtils.ImmutableOpenMapDiff, DiffableUtils.MapDiff, IndexGraveyard.IndexGraveyardDiff

public interface Diff<T>
extends Writeable
Represents difference between states of cluster state parts
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Method Summary

    Modifier and Type Method Description
    T apply​(T part)
    Applies difference to the specified part and returns the resulted part

    Methods inherited from interface org.elasticsearch.common.io.stream.Writeable

    writeTo
  • Method Details

    • apply

      T apply​(T part)
      Applies difference to the specified part and returns the resulted part