public class Configuration extends Object
from(java.util.Properties). The caller should make sure
the configuration object is valid (isValid()) and, in case it's not, can get indications of errors by
calling getValidationMessages().| Modifier and Type | Method and Description |
|---|---|
static Configuration |
from(Properties properties) |
int |
getCollectdPort() |
String |
getGangliaGroup() |
int |
getGangliaPort() |
int |
getMaximumBatchDelay() |
int |
getMinimumBatchSize() |
String |
getMulticastIfOverride() |
int |
getRestCloseAfterRequests() |
URI |
getRestUrl() |
Set<Service> |
getServices() |
int |
getSpoolSize() |
int |
getStatsDport() |
int |
getTcpPort() |
int |
getUdpPort() |
Set<String> |
getValidationMessages() |
boolean |
isValid() |
public static Configuration from(Properties properties)
public boolean isValid()
public Set<String> getValidationMessages()
public int getUdpPort()
public int getTcpPort()
public int getGangliaPort()
public int getStatsDport()
public int getCollectdPort()
public String getGangliaGroup()
public String getMulticastIfOverride()
public int getMinimumBatchSize()
public int getMaximumBatchDelay()
public URI getRestUrl()
public int getRestCloseAfterRequests()
public int getSpoolSize()
Copyright © 2014–2015 Red Hat, Inc.. All rights reserved.