Interface JobStreamer.JobStream

Enclosing interface:
JobStreamer

public static interface JobStreamer.JobStream
A JobStreamer.JobStream allows consumers to push out activated jobs.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the properties used during job activation, e.g.
    void
    push(ActivatedJob payload)
    Pushes the given payload to the stream.
  • Method Details

    • properties

      Returns the properties used during job activation, e.g. timeout, worker
    • push

      void push(ActivatedJob payload)
      Pushes the given payload to the stream. Implementations of this are likely asynchronous; it's recommended that callers ensure that the given payload is immutable, and that the error handler does not close over any shared state.
      Parameters:
      payload - the data to push to the remote gateway