public enum EurekaMonitors extends java.lang.Enum<EurekaMonitors>
Eureka Monitoring is done using Servo. The users who wants to take advantage of the monitoring should read up on Servo
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 GET_APPLICATION
public static final EurekaMonitors REGISTER
public static final EurekaMonitors EXPIRED
public static final EurekaMonitors STATUS_UPDATE
public static final EurekaMonitors STATUS_OVERRIDE_DELETE
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
public static final EurekaMonitors RATE_LIMITED
public static final EurekaMonitors RATE_LIMITED_CANDIDATES
public static final EurekaMonitors RATE_LIMITED_FULL_FETCH
public static final EurekaMonitors RATE_LIMITED_FULL_FETCH_CANDIDATES
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 namejava.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()