Class AckWatchRequest

  • All Implemented Interfaces:
    org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.tasks.TaskAwareRequest

    public class AckWatchRequest
    extends org.elasticsearch.action.support.nodes.BaseNodesRequest<AckWatchRequest>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest

        org.elasticsearch.transport.TransportRequest.Empty
      • Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

        org.elasticsearch.common.io.stream.Writeable.Reader<V extends Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getActionId()  
      String getWatchId()  
      boolean isAck()  
      void setAck​(boolean ack)  
      void setActionId​(String actionId)  
      void setWatchId​(String watchId)  
      org.elasticsearch.action.ActionRequestValidationException validate()  
      void writeTo​(org.elasticsearch.common.io.stream.StreamOutput out)  
      • Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodesRequest

        concreteNodes, nodesIds, nodesIds, setConcreteNodes, timeout, timeout, timeout
      • Methods inherited from class org.elasticsearch.action.ActionRequest

        getShouldStoreResult
      • Methods inherited from class org.elasticsearch.transport.TransportRequest

        getParentTask, setParentTask, toString
      • Methods inherited from class org.elasticsearch.transport.TransportMessage

        decRef, incRef, remoteAddress, remoteAddress, tryIncRef
      • Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest

        createTask, getDescription, setParentTask
    • Constructor Detail

      • AckWatchRequest

        public AckWatchRequest​(String watchId,
                               String actionId,
                               boolean ack)
      • AckWatchRequest

        public AckWatchRequest​(org.elasticsearch.common.io.stream.StreamInput in)
                        throws IOException
        Throws:
        IOException
    • Method Detail

      • writeTo

        public void writeTo​(org.elasticsearch.common.io.stream.StreamOutput out)
                     throws IOException
        Specified by:
        writeTo in interface org.elasticsearch.common.io.stream.Writeable
        Overrides:
        writeTo in class org.elasticsearch.action.support.nodes.BaseNodesRequest<AckWatchRequest>
        Throws:
        IOException
      • validate

        public org.elasticsearch.action.ActionRequestValidationException validate()
        Overrides:
        validate in class org.elasticsearch.action.support.nodes.BaseNodesRequest<AckWatchRequest>
      • getWatchId

        public String getWatchId()
      • setWatchId

        public void setWatchId​(String watchId)
      • getActionId

        public String getActionId()
      • setActionId

        public void setActionId​(String actionId)
      • isAck

        public boolean isAck()
      • setAck

        public void setAck​(boolean ack)