Class Queried


  • public class Queried
    extends Object
    • Method Detail

      • locally

        public static Queried locally()
      • immediatly

        public static Queried immediatly()
      • withRetries

        public static Queried withRetries​(int retries,
                                          Duration retryBackoff)
      • withRemoteAccessAllowed

        public Queried withRemoteAccessAllowed​(boolean remoteAccessAllowed)
      • withRetries

        public Queried withRetries​(int retries)
      • withRetryBackoffMs

        public Queried withRetryBackoffMs​(Duration retryBackoff)
      • retries

        public int retries()
        Gets the maximum number of attempts.
        Returns:
        the number retries.
      • retryBackoff

        public Duration retryBackoff()
        Gets the time interval before attempting a new operation.
        Returns:
        the retry backoff.
      • remoteAccessAllowed

        public boolean remoteAccessAllowed()
        Gets whether remote access is allowed.
        Returns:
        true if remote access if allowed, false otherwise.
      • queryTimeout

        public Duration queryTimeout()
        Gets the maximum duration for executing the execute.
        Returns:
        the timeout.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object