AliasMetaData, ClusterBlocks, DiscoveryNodes, IndexRoutingTable, IndexTemplateMetaData, MappingMetaData, PipelineConfiguration, StoredScriptSourcepublic abstract class AbstractDiffable<T extends Diffable<T>> extends java.lang.Object implements Diffable<T>
Writeable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
AbstractDiffable() |
| Modifier and Type | Method | Description |
|---|---|---|
Diff<T> |
diff(T previousState) |
Returns serializable object representing differences between this and previousState
|
T |
get() |
|
static <T extends Diffable<T>> |
readDiffFrom(Writeable.Reader<T> reader,
StreamInput in) |
public Diff<T> diff(T previousState)
Diffablepublic static <T extends Diffable<T>> Diff<T> readDiffFrom(Writeable.Reader<T> reader, StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic T get()