Class Queried


  • public class Queried
    extends Object
    • Method Detail

      • locally

        public static Queried locally()
      • immediately

        public static Queried immediately()
      • retries

        public static Queried retries​(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.
      • limit

        public Long limit()
        Gets the maximum number of records to return. -1 is infinite.
        Returns:
        the limit.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object