Module org.elasticsearch.xcore
Class GetLifecycleAction.LifecyclePolicyResponseItem
java.lang.Object
org.elasticsearch.xpack.core.ilm.action.GetLifecycleAction.LifecyclePolicyResponseItem
- All Implemented Interfaces:
Writeable
- Enclosing class:
GetLifecycleAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionLifecyclePolicyResponseItem(LifecyclePolicy lifecyclePolicy, long version, String modifiedDate, ItemUsage usage) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetUsage()longinthashCode()voidwriteTo(StreamOutput out) NB prior to 9.1 this was a TransportMasterNodeAction so for BwC we must remain able to write these responses until we no longer need to support calling this action remotely.
-
Constructor Details
-
LifecyclePolicyResponseItem
public LifecyclePolicyResponseItem(LifecyclePolicy lifecyclePolicy, long version, String modifiedDate, ItemUsage usage)
-
-
Method Details
-
writeTo
NB prior to 9.1 this was a TransportMasterNodeAction so for BwC we must remain able to write these responses until we no longer need to support calling this action remotely.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getLifecyclePolicy
-
getVersion
public long getVersion() -
getModifiedDate
-
getUsage
-
hashCode
public int hashCode() -
equals
-