Interface VersionedNamedWriteable
- All Superinterfaces:
NamedWriteable
,Writeable
- All Known Subinterfaces:
ClusterState.Custom
,MetaData.Custom
,NamedDiffable<T>
,PersistentTaskParams
- All Known Implementing Classes:
ElasticsearchNodeCommand.UnknownMetaDataCustom
,IndexGraveyard
,IngestMetadata
,PersistentTasksCustomMetaData
,RepositoriesMetaData
,RepositoryCleanupInProgress
,RestoreInProgress
,ScriptMetaData
,SnapshotDeletionsInProgress
,SnapshotsInProgress
public interface VersionedNamedWriteable extends NamedWriteable
A
NamedWriteable
that has a minimum version associated with it.-
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 Version
getMinimalSupportedVersion()
The minimal version of the recipient this object can be sent tojava.lang.String
getWriteableName()
Returns the name of the writeable object
-
Method Details
-
getWriteableName
java.lang.String getWriteableName()Returns the name of the writeable object- Specified by:
getWriteableName
in interfaceNamedWriteable
-
getMinimalSupportedVersion
Version getMinimalSupportedVersion()The minimal version of the recipient this object can be sent to
-