public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CFG_STATSD_HOST |
static String |
CFG_STATSD_PORT |
static String |
CFG_UPDATE_INTERVAL |
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
String |
get(String name)
Returns the value for the given property name
|
String |
get(String name,
String defaultValue)
Returns the value for the given property name; in case the property doesn't exist, it returns the default value
|
boolean |
loadConfigFile()
Method that loads the configuration file
|
public static final String CFG_STATSD_PORT
public static final String CFG_STATSD_HOST
public static final String CFG_UPDATE_INTERVAL
Copyright © 2014–2015. All rights reserved.