Class MultiChunkPool
java.lang.Object
com.illumon.iris.db.v2.sources.chunk.util.pools.MultiChunkPool
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 TypeMethodDescriptionstatic void
static MultiChunkPool
final BooleanChunkPool
final ByteChunkPool
final CharChunkPool
final ChunkPool
getChunkPool
(ChunkType chunkType) final DoubleChunkPool
final FloatChunkPool
final IntChunkPool
final LongChunkPool
final ObjectChunkPool
final ShortChunkPool
-
Method Details
-
enableDedicatedPoolForThisThread
public static void enableDedicatedPoolForThisThread() -
forThisThread
-
getChunkPool
-
getBooleanChunkPool
-
getCharChunkPool
-
getByteChunkPool
-
getShortChunkPool
-
getIntChunkPool
-
getLongChunkPool
-
getFloatChunkPool
-
getDoubleChunkPool
-
getObjectChunkPool
-