Class AsyncServiceConfigurator

    • Constructor Detail

      • AsyncServiceConfigurator

        public AsyncServiceConfigurator​(ServiceName name)
        Constructs a new builder for building asynchronous service
        Parameters:
        name - the target service name
    • Method Detail

      • startSynchronously

        public AsyncServiceConfigurator startSynchronously()
        Indicates that this service should *not* be started asynchronously.
        Returns:
        a reference to this builder
      • stopSynchronously

        public AsyncServiceConfigurator stopSynchronously()
        Indicates that this service should *not* be stopped asynchronously.
        Returns:
        a reference to this builder