public enum ObserverParam extends java.lang.Enum<ObserverParam> implements Parameter
Observer, so that an observer can be
inspected and controlled from a shell or over a gateway.| Enum Constant and Description |
|---|
connections
Number of web clients currently connected.
|
count
Number of messages published so far.
|
dropped
Number of messages dropped by the rate limiter so far.
|
enabled
Whether messages are being observed.
|
endpoints
Endpoints (agents and topics) seen so far.
|
maxRate
Maximum number of messages published per second, 0 for no limit.
|
url
URL of the web interface.
|
| Modifier and Type | Method and Description |
|---|---|
static ObserverParam |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObserverParam[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObserverParam enabled
public static final ObserverParam count
public static final ObserverParam dropped
public static final ObserverParam maxRate
public static final ObserverParam url
public static final ObserverParam connections
public static final ObserverParam endpoints
public static ObserverParam[] values()
for (ObserverParam c : ObserverParam.values()) System.out.println(c);
public static ObserverParam 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 null