Module org.elasticsearch.xcore
Class ActionStatus
java.lang.Object
org.elasticsearch.xpack.core.watcher.actions.ActionStatus
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final recordstatic final recordNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionActionStatus(ActionStatus.AckStatus ackStatus, ActionStatus.Execution lastExecution, ActionStatus.Execution lastSuccessfulExecution, ActionStatus.Throttle lastThrottle) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanonAck(ZonedDateTime timestamp) static ActionStatusstatic ActionStatusreadFrom(StreamInput in) booleanresetAckStatus(ZonedDateTime timestamp) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidupdate(ZonedDateTime timestamp, Action.Result result) static voidwriteTo(ActionStatus status, StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
ActionStatus
-
ActionStatus
public ActionStatus(ActionStatus.AckStatus ackStatus, @Nullable ActionStatus.Execution lastExecution, @Nullable ActionStatus.Execution lastSuccessfulExecution, @Nullable ActionStatus.Throttle lastThrottle)
-
-
Method Details
-
ackStatus
-
lastExecution
-
lastSuccessfulExecution
-
lastThrottle
-
equals
-
hashCode
public int hashCode() -
update
-
onAck
-
resetAckStatus
-
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
parse
public static ActionStatus parse(String watchId, String actionId, org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-