Class NexusTaskHandlerImpl

    • Constructor Detail

      • NexusTaskHandlerImpl

        public NexusTaskHandlerImpl​(@Nonnull
                                    WorkflowClient client,
                                    @Nonnull
                                    java.lang.String namespace,
                                    @Nonnull
                                    java.lang.String taskQueue,
                                    @Nonnull
                                    DataConverter dataConverter,
                                    @Nonnull
                                    WorkerInterceptor[] interceptors)
    • Method Detail

      • start

        public boolean start()
        Description copied from interface: NexusTaskHandler
        Start the handler if the handler has any registered services. It is an error to start a handler more than once.
        Specified by:
        start in interface NexusTaskHandler
        Returns:
        True if this handler can handle at least one nexus service.
      • registerNexusServiceImplementations

        public void registerNexusServiceImplementations​(java.lang.Object[] nexusServiceImplementation)
      • shutdown

        public java.util.concurrent.CompletionStage<java.lang.Void> shutdown​(ShutdownManager shutdownManager,
                                                                             boolean unused)