Class MultiChunkPool
java.lang.Object
com.illumon.iris.db.v2.sources.chunk.util.pools.MultiChunkPool
public final class MultiChunkPool extends Object
Provides a set of per-type
ChunkPool
s. Normally accessed via a ThreadLocal
, to allow some threads
to share a common pool and others to allocate their own.-
Method Summary
Modifier and Type Method Description static void
enableDedicatedPoolForThisThread()
static MultiChunkPool
forThisThread()
BooleanChunkPool
getBooleanChunkPool()
ByteChunkPool
getByteChunkPool()
CharChunkPool
getCharChunkPool()
ChunkPool
getChunkPool(ChunkType chunkType)
DoubleChunkPool
getDoubleChunkPool()
FloatChunkPool
getFloatChunkPool()
IntChunkPool
getIntChunkPool()
LongChunkPool
getLongChunkPool()
ObjectChunkPool
getObjectChunkPool()
ShortChunkPool
getShortChunkPool()
-
Method Details
-
enableDedicatedPoolForThisThread
public static void enableDedicatedPoolForThisThread() -
forThisThread
-
getChunkPool
-
getBooleanChunkPool
-
getCharChunkPool
-
getByteChunkPool
-
getShortChunkPool
-
getIntChunkPool
-
getLongChunkPool
-
getFloatChunkPool
-
getDoubleChunkPool
-
getObjectChunkPool
-