T
- public class ZoneStats<T extends Server>
extends java.lang.Object
Constructor and Description |
---|
ZoneStats(java.lang.String name,
java.lang.String zone,
LoadBalancerStats loadBalancerStats) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveRequestsCount() |
double |
getActiveRequestsPerServer() |
int |
getCircuitBreakerTrippedCount() |
double |
getCircuitBreakerTrippedPercentage() |
int |
getInstanceCount() |
long |
getMeasuredZoneHits() |
java.lang.String |
getZone() |
java.lang.String |
toString() |
public ZoneStats(java.lang.String name, java.lang.String zone, LoadBalancerStats loadBalancerStats)
public final java.lang.String getZone()
@Monitor(name="ZoneStats_ActiveRequestsCount", type=INFORMATIONAL) public int getActiveRequestsCount()
@Monitor(name="ZoneStats_InstanceCount", type=GAUGE) public int getInstanceCount()
@Monitor(name="ZoneStats_CircuitBreakerTrippedCount", type=GAUGE) public int getCircuitBreakerTrippedCount()
@Monitor(name="ZoneStats_ActiveRequestsPerServer", type=GAUGE) public double getActiveRequestsPerServer()
public long getMeasuredZoneHits()
@Monitor(name="ZoneStats_CircuitBreakerTrippedPercentage", type=INFORMATIONAL) public double getCircuitBreakerTrippedPercentage()
public java.lang.String toString()
toString
in class java.lang.Object