public enum ConfigurationKey extends Enum<ConfigurationKey>
| Enum Constant and Description |
|---|
BATCH_SIZE
Minimum batch size of metrics to be forwarded (from one source)
|
COLLECTD_PORT
UDP port for collectd type of messages
|
GANGLIA_GROUP
Ganglia group
|
GANGLIA_MULTICAST_INTERFACE
Explicit multicast interface
|
GANGLIA_PORT
Ganglia port
|
REST_CLOSE_AFTER_REQUESTS
Close connection to rest-server after this many requests
|
REST_URL
REST endpoint
|
SPOOL_SIZE
Maximum number of metrics to spool if the server is not reachable
|
STATSD_PORT
UDP port for statsd type of messages
|
TCP_PORT
Multiplexed TCP port
|
UDP_PORT
Multiplexed UDP port
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalForm() |
static ConfigurationKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationKey UDP_PORT
public static final ConfigurationKey TCP_PORT
public static final ConfigurationKey GANGLIA_PORT
public static final ConfigurationKey GANGLIA_GROUP
public static final ConfigurationKey GANGLIA_MULTICAST_INTERFACE
public static final ConfigurationKey STATSD_PORT
public static final ConfigurationKey COLLECTD_PORT
public static final ConfigurationKey BATCH_SIZE
public static final ConfigurationKey REST_URL
public static final ConfigurationKey REST_CLOSE_AFTER_REQUESTS
public static final ConfigurationKey SPOOL_SIZE
public static ConfigurationKey[] values()
for (ConfigurationKey c : ConfigurationKey.values()) System.out.println(c);
public static ConfigurationKey valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getExternalForm()
Copyright © 2014–2015 Red Hat, Inc.. All rights reserved.