Class JobRunnerResponse

java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.core.transport.TransportResponse
org.opensearch.core.action.ActionResponse
org.opensearch.jobscheduler.transport.response.JobRunnerResponse
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable

public class JobRunnerResponse extends org.opensearch.core.action.ActionResponse
Response from extensions indicating the status of the ScheduledJobRunner invocation
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opensearch.core.transport.TransportResponse

    org.opensearch.core.transport.TransportResponse.Empty

    Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable

    org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
  • Constructor Summary

    Constructors
    Constructor
    Description
    JobRunnerResponse(boolean jobRunnerStatus)
    Instantiates a new Job Runner Response
    JobRunnerResponse(byte[] responseParams)
    Instantiates a new Job Runner Response by wrapping the given byte array within a StreamInput
    JobRunnerResponse(org.opensearch.core.common.io.stream.StreamInput in)
    Instantiates a new Job Runner Response from StreamInput
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    writeTo(org.opensearch.core.common.io.stream.StreamOutput out)
     

    Methods inherited from class org.opensearch.core.transport.TransportMessage

    remoteAddress, remoteAddress

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JobRunnerResponse

      public JobRunnerResponse(boolean jobRunnerStatus)
      Instantiates a new Job Runner Response
      Parameters:
      jobRunnerStatus - the run status of the extension job runner
    • JobRunnerResponse

      public JobRunnerResponse(org.opensearch.core.common.io.stream.StreamInput in) throws IOException
      Instantiates a new Job Runner Response from StreamInput
      Parameters:
      in - is the byte stream input used to de-serialize the message.
      Throws:
      IOException - IOException when message de-serialization fails.
    • JobRunnerResponse

      public JobRunnerResponse(byte[] responseParams) throws IOException
      Instantiates a new Job Runner Response by wrapping the given byte array within a StreamInput
      Parameters:
      responseParams - in bytes array used to de-serialize the message.
      Throws:
      IOException - when message de-serialization fails.
  • Method Details

    • writeTo

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Throws:
      IOException
    • getJobRunnerStatus

      public boolean getJobRunnerStatus()