Module org.elasticsearch.xcore
Class GetDatafeedRunningStateAction.Response
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.support.tasks.BaseTasksResponse
org.elasticsearch.xpack.core.ml.action.GetDatafeedRunningStateAction.Response
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted
- Enclosing class:
GetDatafeedRunningStateAction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested 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 class org.elasticsearch.action.support.tasks.BaseTasksResponse
NODE_FAILURES, TASK_FAILURESFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionResponse(Map<String, GetDatafeedRunningStateAction.Response.RunningState> runtimeStateMap) Response(StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromResponses(List<GetDatafeedRunningStateAction.Response> responses) fromTaskAndState(String datafeedId, GetDatafeedRunningStateAction.Response.RunningState runningState) getRunningState(String datafeedId) inthashCode()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.support.tasks.BaseTasksResponse
getNodeFailures, getTaskFailures, rethrowFailures, toXContentCommonMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, 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
- Throws:
IOException
-
Response
-
-
Method Details
-
fromResponses
public static GetDatafeedRunningStateAction.Response fromResponses(List<GetDatafeedRunningStateAction.Response> responses) -
fromTaskAndState
public static GetDatafeedRunningStateAction.Response fromTaskAndState(String datafeedId, GetDatafeedRunningStateAction.Response.RunningState runningState) -
getRunningState
public Optional<GetDatafeedRunningStateAction.Response.RunningState> getRunningState(String datafeedId) -
getDatafeedRunningState
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBaseTasksResponse- Throws:
IOException
-
equals
- Overrides:
equalsin classBaseTasksResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseTasksResponse
-