Module org.elasticsearch.server
Class MasterHistoryAction.Response
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.admin.cluster.coordination.MasterHistoryAction.Response
- All Implemented Interfaces:
Writeable,RefCounted
- Enclosing class:
MasterHistoryAction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested 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.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns an ordered list of DiscoveryNodes that the node responding has seen to be master nodes over the last 30 minutes, ordered oldest first.inthashCode()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
Response
-
Response
- Throws:
IOException
-
-
Method Details
-
getMasterHistory
Returns an ordered list of DiscoveryNodes that the node responding has seen to be master nodes over the last 30 minutes, ordered oldest first. Note that these DiscoveryNodes can be null.- Returns:
- a list of DiscoveryNodes that the node responding has seen to be master nodes over the last 30 minutes, ordered oldest first
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-