Class NexusTask


  • public final class NexusTask
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      NexusTask​(io.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseOrBuilder response, SlotPermit permit, Functions.Proc completionCallback)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Functions.Proc getCompletionCallback()
      Completion handle function that must be called by the handler whenever the nexus task processing is completed.
      SlotPermit getPermit()  
      io.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseOrBuilder getResponse()  
      • Methods inherited from class java.lang.Object

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

      • NexusTask

        public NexusTask​(@Nonnull
                         io.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseOrBuilder response,
                         @Nonnull
                         SlotPermit permit,
                         @Nonnull
                         Functions.Proc completionCallback)
    • Method Detail

      • getResponse

        @Nonnull
        public io.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseOrBuilder getResponse()
      • getCompletionCallback

        @Nonnull
        public Functions.Proc getCompletionCallback()
        Completion handle function that must be called by the handler whenever the nexus task processing is completed.
      • getPermit

        @Nonnull
        public SlotPermit getPermit()