public class InsightsConfigImpl extends BaseConfig implements InsightsConfig
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLLECT_CUSTOM_EVENTS |
static boolean |
DEFAULT_ENABLED |
static int |
DEFAULT_MAX_SAMPLES_STORED |
static java.lang.String |
ENABLED |
static java.lang.String |
ENABLED_PROP |
boolean |
isEnabled |
static java.lang.String |
MAX_SAMPLES_STORED_PROP |
int |
maxSamplesStored |
static java.lang.String |
SYSTEM_PROPERTY_ROOT |
COMMA_SEPARATOR, SEMI_COLON_SEPARATOR, systemPropertyPrefix
Constructor and Description |
---|
InsightsConfigImpl(java.util.Map<java.lang.String,java.lang.Object> pProps,
boolean highSecurity) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxSamplesStored() |
boolean |
initEnabled() |
boolean |
isEnabled() |
castValue, createMap, getDoubleProperty, getFirstString, getIntegerSet, getIntProperty, getMapSet, getMapSetFromCollection, getProperties, getProperty, getProperty, getPropertyFromSystemEnvironment, getPropertyFromSystemProperties, getStringPropertyOrNull, getSystemPropertyKey, getUniqueStrings, getUniqueStrings, getUniqueStringsFromCollection, getUniqueStringsFromCollection, getUniqueStringsFromString, getUniqueStringsFromString, nestedProps
public static final java.lang.String MAX_SAMPLES_STORED_PROP
public static final int DEFAULT_MAX_SAMPLES_STORED
public static final java.lang.String ENABLED_PROP
public static final boolean DEFAULT_ENABLED
public static final java.lang.String SYSTEM_PROPERTY_ROOT
public static final java.lang.String ENABLED
public static final java.lang.String COLLECT_CUSTOM_EVENTS
public final int maxSamplesStored
public final boolean isEnabled
public InsightsConfigImpl(java.util.Map<java.lang.String,java.lang.Object> pProps, boolean highSecurity)
public boolean initEnabled()
public boolean isEnabled()
isEnabled
in interface InsightsConfig
public int getMaxSamplesStored()
getMaxSamplesStored
in interface InsightsConfig