Package oracle.kv

Class StoreIteratorConfig

    • Constructor Detail

      • StoreIteratorConfig

        public StoreIteratorConfig()
    • Method Detail

      • setMaxConcurrentRequests

        public StoreIteratorConfig setMaxConcurrentRequests​(int maxConcurrentRequests)
        Sets the maximum degree of parallelism (in effect the maximum number of client-side threads) to be used when running a parallel store iteration. Setting maxConcurrentRequests to 1 causes the store iteration to be performed using only the current thread. Setting it to 0 lets the KV Client determine the number of threads based on topology information (up to a maximum of the number of available processors as returned by java.lang.Runtime.availableProcessors()). Values less than 0 are reserved for some future use and cause an IllegalArgumentException to be thrown.
        Parameters:
        maxConcurrentRequests - the maximum number of client-side threads.
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if a value less than 0 is passed for maxConcurrentRequests.
      • getMaxConcurrentRequests

        public int getMaxConcurrentRequests()
        Returns the maximum number of concurrent requests.
        Returns:
        the maximum number of concurrent requests
      • setMaxResultsBatches

        @Deprecated
        public StoreIteratorConfig setMaxResultsBatches​(int maxResultsBatches)
        Deprecated.
        since 3.4, no longer supported.
        Parameters:
        maxResultsBatches - the maximum number of results sets that can be held on the client side before Replication Node processing pauses.
        Returns:
        this
      • getMaxResultsBatches

        @Deprecated
        public int getMaxResultsBatches()
        Deprecated.
        since 3.4, no longer supported. Returns the value set by setMaxResultsBatches().
        Returns:
        the value set by setMaxResultsBatches()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object