Interface AsyncWaiter.Builder<T>

    • Method Detail

      • scheduledExecutorService

        AsyncWaiter.Builder<T> scheduledExecutorService​(ScheduledExecutorService scheduledExecutorService)
        Defines the ScheduledExecutorService used to schedule async polling attempts.
        Parameters:
        scheduledExecutorService - the schedule executor service
        Returns:
        a reference to this object so that method calls can be chained together.
      • build

        AsyncWaiter<T> build()
        An immutable object that is created from the properties that have been set on the builder.
        Returns:
        a reference to this object so that method calls can be chained together.