Interface Diffable<T>

All Superinterfaces:
Writeable
All Known Subinterfaces:
ClusterState.Custom, MetaData.Custom, NamedDiffable<T>
All Known Implementing Classes:
AbstractDiffable, AbstractNamedDiffable, AliasMetaData, ClusterBlocks, ClusterState, DiffableStringMap, DiscoveryNodes, ElasticsearchNodeCommand.UnknownMetaDataCustom, IndexGraveyard, IndexMetaData, IndexRoutingTable, IndexTemplateMetaData, IngestMetadata, MappingMetaData, MetaData, PersistentTasksCustomMetaData, PipelineConfiguration, RepositoriesMetaData, RepositoryCleanupInProgress, RestoreInProgress, RolloverInfo, RoutingTable, ScriptMetaData, SnapshotDeletionsInProgress, SnapshotsInProgress, StoredScriptSource

public interface Diffable<T>
extends Writeable
Cluster state part, changes in which can be serialized
  • 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
    Diff<T> diff​(T previousState)
    Returns serializable object representing differences between this and previousState

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

    writeTo
  • Method Details

    • diff

      Diff<T> diff​(T previousState)
      Returns serializable object representing differences between this and previousState