|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<EurekaMonitors>
com.netflix.eureka.util.EurekaMonitors
public enum EurekaMonitors
The enum that encapsulates all statistics monitored by Eureka.
Eureka Monitoring is done using Servo. The users who wants to take advantage of the monitoring should read up on Servo
| Method Summary | |
|---|---|
long |
getCount()
Gets the actual counter value for this statistic. |
java.lang.String |
getDescription()
Gets the description of this statistic means. |
java.lang.String |
getName()
Gets the statistic name of this monitor. |
long |
getZoneSpecificCount()
Gets the zone specific counter value for this statistic. |
java.lang.String |
getZoneSpecificName()
Gets the zone specific statistic name of this monitor. |
void |
increment()
Increment the counter for the given statistic. |
void |
increment(boolean isReplication)
Increment the counter for the given statistic based on whether this is because of replication from other eureka servers or it is a eureka client initiated action. |
static void |
registerAllStats()
Register all statistics with Servo. |
static void |
shutdown()
Unregister all statistics from Servo. |
static EurekaMonitors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EurekaMonitors[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EurekaMonitors RENEW
public static final EurekaMonitors CANCEL
public static final EurekaMonitors GET_ALL_CACHE_MISS
public static final EurekaMonitors GET_ALL_CACHE_MISS_DELTA
public static final EurekaMonitors GET_ALL_WITH_REMOTE_REGIONS_CACHE_MISS
public static final EurekaMonitors GET_ALL_WITH_REMOTE_REGIONS_CACHE_MISS_DELTA
public static final EurekaMonitors GET_ALL_DELTA
public static final EurekaMonitors GET_ALL_DELTA_WITH_REMOTE_REGIONS
public static final EurekaMonitors GET_ALL
public static final EurekaMonitors GET_ALL_WITH_REMOTE_REGIONS
public static final EurekaMonitors REGISTER
public static final EurekaMonitors EXPIRED
public static final EurekaMonitors STATUS_UPDATE
public static final EurekaMonitors CANCEL_NOT_FOUND
public static final EurekaMonitors RENEW_NOT_FOUND
public static final EurekaMonitors REJECTED_REPLICATIONS
public static final EurekaMonitors FAILED_REPLICATIONS
| Method Detail |
|---|
public static EurekaMonitors[] values()
for (EurekaMonitors c : EurekaMonitors.values()) System.out.println(c);
public static EurekaMonitors valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic void increment()
public void increment(boolean isReplication)
isReplication - true if this a replication, false otherwise.public java.lang.String getName()
public java.lang.String getZoneSpecificName()
public java.lang.String getDescription()
public long getCount()
public long getZoneSpecificCount()
public static void registerAllStats()
public static void shutdown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||