Package org.elasticsearch.cluster
Class AbstractNamedDiffable<T extends NamedDiffable<T>>
org.elasticsearch.cluster.AbstractNamedDiffable<T>
- All Implemented Interfaces:
Diffable<T>
,NamedWriteable
,Writeable
- Direct Known Subclasses:
PersistentTasksCustomMetadata
,RepositoriesMetadata
,RepositoryCleanupInProgress
,RestoreInProgress
,SnapshotDeletionsInProgress
,SnapshotsInProgress
public abstract class AbstractNamedDiffable<T extends NamedDiffable<T>>
extends
implements Diffable<T>, NamedWriteable
Abstract diffable object with simple diffs implementation that sends the entire object if object has changed or
nothing is object remained the same. Comparing to AbstractDiffable, this class also works with NamedWriteables
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns serializable object representing differences between this and previousStateget()
static <T extends NamedDiffable<T>>
NamedDiff<T><? extends T> tClass, name, StreamInput in)
Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
-
Constructor Details
-
AbstractNamedDiffable
public AbstractNamedDiffable()
-
-
Method Details