-
public class DefaultFlexByteArrayPoolParamsProvides pool parameters (PoolParams) for SharedByteArray
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerDEFAULT_MAX_BYTE_ARRAY_SIZEprivate final IntegerDEFAULT_MAX_NUM_THREADSpublic final static DefaultFlexByteArrayPoolParamsINSTANCE
-
Method Summary
Modifier and Type Method Description final static SparseIntArraygenerateBuckets(Integer min, Integer max, Integer numThreads)final static PoolParamsget()final IntegergetDEFAULT_MAX_BYTE_ARRAY_SIZE()final IntegergetDEFAULT_MAX_NUM_THREADS()-
-
Method Detail
-
generateBuckets
final static SparseIntArray generateBuckets(Integer min, Integer max, Integer numThreads)
-
get
final static PoolParams get()
-
getDEFAULT_MAX_BYTE_ARRAY_SIZE
final Integer getDEFAULT_MAX_BYTE_ARRAY_SIZE()
-
getDEFAULT_MAX_NUM_THREADS
final Integer getDEFAULT_MAX_NUM_THREADS()
-
-
-
-