Class MetaData.UnknownGatewayOnlyCustom
- java.lang.Object
-
- org.elasticsearch.cluster.metadata.MetaData.UnknownGatewayOnlyCustom
-
- All Implemented Interfaces:
ClusterState.FeatureAware
,Diffable<MetaData.Custom>
,MetaData.Custom
,NamedDiffable<MetaData.Custom>
,NamedWriteable
,VersionedNamedWriteable
,Writeable
,ToXContent
,ToXContentFragment
- Enclosing class:
- MetaData
public static class MetaData.UnknownGatewayOnlyCustom extends java.lang.Object implements MetaData.Custom
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description java.util.EnumSet<MetaData.XContentContext>
context()
Diff<MetaData.Custom>
diff(MetaData.Custom previousState)
Returns serializable object representing differences between this and previousStateVersion
getMinimalSupportedVersion()
The minimal version of the recipient this object can be sent tojava.lang.String
getWriteableName()
Returns the name of the writeable objectXContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.cluster.ClusterState.FeatureAware
getRequiredFeature
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Method Detail
-
context
public java.util.EnumSet<MetaData.XContentContext> context()
- Specified by:
context
in interfaceMetaData.Custom
-
diff
public Diff<MetaData.Custom> diff(MetaData.Custom previousState)
Description copied from interface:Diffable
Returns serializable object representing differences between this and previousState- Specified by:
diff
in interfaceDiffable<MetaData.Custom>
-
getWriteableName
public java.lang.String getWriteableName()
Description copied from interface:VersionedNamedWriteable
Returns the name of the writeable object- Specified by:
getWriteableName
in interfaceNamedWriteable
- Specified by:
getWriteableName
in interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
public Version getMinimalSupportedVersion()
Description copied from interface:VersionedNamedWriteable
The minimal version of the recipient this object can be sent to- Specified by:
getMinimalSupportedVersion
in interfaceVersionedNamedWriteable
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Writeable
Write this into the StreamOutput.
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
-