|
Kieker 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable<Object,Object> java.util.Properties kieker.monitoring.core.configuration.Configuration
public final class Configuration
Field Summary | |
---|---|
static String |
ACTIVATE_MBEAN
|
static String |
ACTIVATE_MBEAN_DOMAIN
|
static String |
ACTIVATE_MBEAN_TYPE
|
static String |
AUTO_SET_LOGGINGTSTAMP
|
static String |
CONTROLLER_NAME
|
static String |
CUSTOM_PROPERTIES_LOCATION_CLASSPATH
Location of the custom properties file (in classpath) |
static String |
CUSTOM_PROPERTIES_LOCATION_JVM
JVM-parameter to specify a custom properties file |
static String |
DEFAULT_PROPERTIES_LOCATION_CLASSPATH
Location of the default properties file (in classpath) |
static String |
EXPERIMENT_ID
|
static String |
HOST_NAME
|
static String |
MONITORING_ENABLED
|
static String |
PERIODIC_SENSORS_EXECUTOR_POOL_SIZE
|
static String |
PREFIX
prefix used for all kieker.monitoring components |
static String |
TIMER_CLASSNAME
|
static String |
WRITER_CLASSNAME
|
Method Summary | |
---|---|
static Configuration |
createConfigurationFromFile(String configurationFile)
Creates a new configuration based on the given properties file with fallback on the default values. |
static Configuration |
createDefaultConfiguration()
Returns an empty properties map with a fallback on the default configuration. |
static Configuration |
createSingletonConfiguration()
Creates the configuration for the singleton controller instance. |
boolean |
getBooleanProperty(String key)
|
int |
getIntProperty(String key)
|
long |
getLongProperty(String key)
|
Configuration |
getPropertiesStartingWith(String prefix)
|
String |
getStringProperty(String key)
|
void |
setDefaultProperties(Properties defaultProperties)
You should know what you do if you use this method! |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PREFIX
public static final String CUSTOM_PROPERTIES_LOCATION_CLASSPATH
public static final String DEFAULT_PROPERTIES_LOCATION_CLASSPATH
public static final String CUSTOM_PROPERTIES_LOCATION_JVM
public static final String MONITORING_ENABLED
public static final String CONTROLLER_NAME
public static final String HOST_NAME
public static final String EXPERIMENT_ID
public static final String ACTIVATE_MBEAN
public static final String ACTIVATE_MBEAN_DOMAIN
public static final String ACTIVATE_MBEAN_TYPE
public static final String AUTO_SET_LOGGINGTSTAMP
public static final String WRITER_CLASSNAME
public static final String TIMER_CLASSNAME
public static final String PERIODIC_SENSORS_EXECUTOR_POOL_SIZE
Method Detail |
---|
public static final Configuration createSingletonConfiguration()
Properties
returned by this method are not a
singleton instance, i.e., each call returns an equal but not same set of
Properties
.
public static final Configuration createDefaultConfiguration()
public static final Configuration createConfigurationFromFile(String configurationFile)
configurationFile
-
public final void setDefaultProperties(Properties defaultProperties) throws IllegalAccessException
defaultProperties
-
IllegalAccessException
public final Configuration getPropertiesStartingWith(String prefix)
public final String getStringProperty(String key)
public final boolean getBooleanProperty(String key)
public final int getIntProperty(String key)
public final long getLongProperty(String key)
|
Kieker 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |