com.netflix.loadbalancer
Class ZoneSnapshot

java.lang.Object
  extended by 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)
           
 
Method Summary
 int getActiveRequestsCount()
           
 int getCircuitTrippedCount()
           
 int getInstanceCount()
           
 double getLoadPerServer()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZoneSnapshot

public ZoneSnapshot()

ZoneSnapshot

public ZoneSnapshot(int instanceCount,
                    int circuitTrippedCount,
                    int activeRequestsCount,
                    double loadPerServer)
Method Detail

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