Interface RBoundedBlockingQueue<V>

    • Method Detail

      • trySetCapacity

        boolean trySetCapacity​(int capacity)
        Sets queue capacity only if it is not set before.
        Parameters:
        capacity - - queue capacity
        Returns:
        true if capacity set successfully false if capacity already set