Class PreallocatedCircuitBreakerService

java.lang.Object
org.elasticsearch.indices.breaker.CircuitBreakerService
org.elasticsearch.common.breaker.PreallocatedCircuitBreakerService
All Implemented Interfaces:
Closeable, AutoCloseable, Releasable

public class PreallocatedCircuitBreakerService extends CircuitBreakerService implements Releasable
CircuitBreakerService that preallocates some bytes on construction. Use this when you know you'll be allocating many small things on a CircuitBreaker quickly and there is a definite "finished" time, like when aggregations are built.