java.lang.Object
org.elasticsearch.compute.data.BlockFactoryBuilder
Builder for
BlockFactory instances.-
Method Summary
Modifier and TypeMethodDescriptionbreaker(CircuitBreaker breaker) Override the breaker.build()Build theBlockFactory.bytesRefRamOverestimateFactor(double bytesRefRamOverestimateFactor) Override the inflation factor which largeBytesRefBlocks use to inflate the size in theCircuitBreaker.bytesRefRamOverestimateThreshold(long bytesRefRamOverestimateThreshold) Override the threshold over whichBytesRefBlocks use an inflated size in theCircuitBreaker.bytesRefRamOverestimateThreshold(ByteSizeValue bytesRefRamOverestimateThreshold) Override the threshold over whichBytesRefBlocks use an inflated size in theCircuitBreaker.maxPrimitiveArraySize(long maxPrimitiveArraySize) Override the maximum size we use for block of primitive arrays.maxPrimitiveArraySize(ByteSizeValue maxPrimitiveArraySize) Override the maximum size we use for block of primitive arrays.
-
Method Details
-
breaker
Override the breaker. If you don't call this thebreakerwill default to theREQUESTCircuitBreakerin theBigArrays. -
maxPrimitiveArraySize
Override the maximum size we use for block of primitive arrays. If you don't call this it'll default toBlockFactory.DEFAULT_MAX_BLOCK_PRIMITIVE_ARRAY_SIZE. -
maxPrimitiveArraySize
Override the maximum size we use for block of primitive arrays. If you don't call this it'll default toBlockFactory.DEFAULT_MAX_BLOCK_PRIMITIVE_ARRAY_SIZE. -
bytesRefRamOverestimateThreshold
public BlockFactoryBuilder bytesRefRamOverestimateThreshold(ByteSizeValue bytesRefRamOverestimateThreshold) Override the threshold over whichBytesRefBlocks use an inflated size in theCircuitBreaker. If you don't call this it'll default toBlockFactory.DEFAULT_BYTES_REF_RAM_OVERESTIMATE_FACTOR. -
bytesRefRamOverestimateThreshold
Override the threshold over whichBytesRefBlocks use an inflated size in theCircuitBreaker. If you don't call this it'll default toBlockFactory.DEFAULT_BYTES_REF_RAM_OVERESTIMATE_FACTOR. -
bytesRefRamOverestimateFactor
Override the inflation factor which largeBytesRefBlocks use to inflate the size in theCircuitBreaker. If you don't call this it'll default toBlockFactory.DEFAULT_BYTES_REF_RAM_OVERESTIMATE_THRESHOLD. -
build
Build theBlockFactory.
-