com.netflix.loadbalancer
Class ZoneSnapshot
java.lang.Object
com.netflix.loadbalancer.ZoneSnapshot
public class ZoneSnapshot
- extends java.lang.Object
Captures the metrics on a Per Zone basis (Zone is modeled after the Amazon Availability Zone)
Constructor Summary |
ZoneSnapshot()
|
ZoneSnapshot(int instanceCount,
int circuitTrippedCount,
int activeRequestsCount,
double loadPerServer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZoneSnapshot
public ZoneSnapshot()
ZoneSnapshot
public ZoneSnapshot(int instanceCount,
int circuitTrippedCount,
int activeRequestsCount,
double loadPerServer)
getInstanceCount
public final int getInstanceCount()
getLoadPerServer
public final double getLoadPerServer()
getCircuitTrippedCount
public final int getCircuitTrippedCount()
getActiveRequestsCount
public final int getActiveRequestsCount()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object