public class MonitorConfig
extends org.apache.samza.config.MapConfig
Monitor
implementations.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_MONITOR_FACTORY_CLASS |
static java.lang.String |
CONFIG_SCHEDULING_INTERVAL |
Constructor and Description |
---|
MonitorConfig(org.apache.samza.config.Config config) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,MonitorConfig> |
getMonitorConfigs(org.apache.samza.config.Config config)
Groups configuration defined in the config object for each of the monitors into a MonitorConfig object
|
java.lang.String |
getMonitorFactoryClass() |
int |
getSchedulingIntervalInMs() |
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, sanitize, size, toString, values
clear, get, getBoolean, getBoolean, getClass, getDate, getDate, getDate, getDate, getDate, getDate, getDouble, getDouble, getInt, getInt, getList, getList, getLong, getLong, getNewInstance, getShort, getShort, put, putAll, regexSubset, remove, subset, subset
public static final java.lang.String CONFIG_SCHEDULING_INTERVAL
public static final java.lang.String CONFIG_MONITOR_FACTORY_CLASS
public static java.util.Map<java.lang.String,MonitorConfig> getMonitorConfigs(org.apache.samza.config.Config config)
config
- contains the entire configuration defined for all the monitors.MonitorConfig
, where each MonitorConfig object
contains all the configuration defined for the monitor named monitorName.public java.lang.String getMonitorFactoryClass()
public int getSchedulingIntervalInMs()
DEFAULT_SCHEDULING_INTERVAL_IN_MS
).