Class CommonOptions<SELF extends CommonOptions<SELF>>

    • Constructor Detail

      • CommonOptions

        public CommonOptions()
    • Method Detail

      • self

        protected SELF self()
        Allows to return the right options builder instance for child implementations.
      • timeout

        public SELF timeout​(Duration timeout)
        Specifies a custom per-operation timeout.

        Note: if a custom timeout is provided through this builder, it will override the default set on the environment.

        Parameters:
        timeout - the timeout to use for this operation.
        Returns:
        this options builder for chaining purposes.
      • retryStrategy

        public SELF retryStrategy​(RetryStrategy retryStrategy)
        Specifies a custom RetryStrategy for this operation.

        Note: if a custom strategy is provided through this builder, it will override the default set on the environment.

        Parameters:
        retryStrategy - the retry strategy to use for this operation.
        Returns:
        this options builder for chaining purposes.