com.netflix.loadbalancer
Class ZoneStats<T extends Server>
java.lang.Object
com.netflix.loadbalancer.ZoneStats<T>
- Type Parameters:
T
-
public class ZoneStats<T extends Server>
- extends java.lang.Object
Class that stores Statistics per Zone (where Zone is typically a Amazon
Availability Zone)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZoneStats
public ZoneStats(java.lang.String name,
java.lang.String zone,
LoadBalancerStats loadBalancerStats)
getZone
public final java.lang.String getZone()
getActiveRequestsCount
@Monitor(name="ZoneStats_ActiveRequestsCount",
type=GAUGE)
public int getActiveRequestsCount()
getInstanceCount
@Monitor(name="ZoneStats_InstanceCount",
type=GAUGE)
public int getInstanceCount()
getCircuitBreakerTrippedCount
@Monitor(name="ZoneStats_CircuitBreakerTrippedCount",
type=GAUGE)
public int getCircuitBreakerTrippedCount()
getActiveRequestsPerServer
@Monitor(name="ZoneStats_ActiveRequestsPerServer",
type=GAUGE)
public double getActiveRequestsPerServer()
getMeasuredZoneHits
@Monitor(name="ZoneStats_RequestsMadeLast5Minutes",
type=GAUGE)
public long getMeasuredZoneHits()
getCircuitBreakerTrippedPercentage
@Monitor(name="ZoneStats_CircuitBreakerTrippedPercentage",
type=GAUGE)
public double getCircuitBreakerTrippedPercentage()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object