Search in sources :

Example 1 with CrateCircuitBreakerService

use of io.crate.breaker.CrateCircuitBreakerService in project crate by crate.

the class JobsLogsTest method beforeClass.

@BeforeClass
public static void beforeClass() {
    CircuitBreakerService esBreakerService = new HierarchyCircuitBreakerService(Settings.EMPTY, nodeSettingsService);
    breakerService = new CrateCircuitBreakerService(Settings.EMPTY, nodeSettingsService, esBreakerService);
}
Also used : HierarchyCircuitBreakerService(org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService) CrateCircuitBreakerService(io.crate.breaker.CrateCircuitBreakerService) CircuitBreakerService(org.elasticsearch.indices.breaker.CircuitBreakerService) HierarchyCircuitBreakerService(org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService) CrateCircuitBreakerService(io.crate.breaker.CrateCircuitBreakerService) BeforeClass(org.junit.BeforeClass)

Aggregations

CrateCircuitBreakerService (io.crate.breaker.CrateCircuitBreakerService)1 CircuitBreakerService (org.elasticsearch.indices.breaker.CircuitBreakerService)1 HierarchyCircuitBreakerService (org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService)1 BeforeClass (org.junit.BeforeClass)1