Package org.elasticsearch.indices.breaker

Examples of org.elasticsearch.indices.breaker.AllCircuitBreakerStats


            // If 1.3.0 or earlier, only a single CircuitBreakerStats can be read
            CircuitBreakerStats fdStats = CircuitBreakerStats.readOptionalCircuitBreakerStats(in);
            if (fdStats != null) {
                CircuitBreakerStats reqStats = new CircuitBreakerStats(CircuitBreaker.Name.REQUEST, 0, 0, 1.0, -1);
                CircuitBreakerStats parentStats = new CircuitBreakerStats(CircuitBreaker.Name.PARENT, 0, 0, 1.0, -1);
                breaker = new AllCircuitBreakerStats(new CircuitBreakerStats[] {parentStats, fdStats, reqStats});
            }
        }

    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.indices.breaker.AllCircuitBreakerStats

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.