Package 

Interface PulsarJobBase

    • Method Summary

      Modifier and Type Method Description
      abstract Map<String, Object> run(Params params)
      abstract Boolean stopJob() Stop the job with the possibility to resume.
      abstract Boolean killJob() Kill the job immediately.
      abstract Map<String, Object> getStatus()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • stopJob

         abstract Boolean stopJob()

        Stop the job with the possibility to resume. Subclasses should override this, since by default it calls .killJob.

      • killJob

         abstract Boolean killJob()

        Kill the job immediately. Clients should assume that any results that the job produced so far are in inconsistent state or missing.