Class Index.Mutable.Builder<V>

    • Method Detail

      • maxCapacity

        public Index.Mutable.Builder<V> maxCapacity​(int capacity)
        Configure a maximum capacity for the mutable index. A negative value means there is no capacity limit and the index can grow without limits. The default value is -1.
        Parameters:
        capacity - the maximum capacity of the index.
        Returns:
        this