com.carrotsearch.hppc.Preallocable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package com.carrotsearch.hppc;
/**
* Anything that can preallocate buffers given prior knowledge of the number of
* stored elements.
*/
public interface Preallocable {
/**
* Ensure this container can hold at least the given number of elements
* without resizing its buffers.
*
* @param expectedElements
* The total number of elements, inclusive.
*/
public void ensureCapacity(int expectedElements);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy