public class SlowTransactionsConfigImpl extends BaseConfig implements SlowTransactionsConfig
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED |
static boolean |
DEFAULT_EVAL_COMPLETED_TRANSACTIONS |
static int |
DEFAULT_THRESHOLD_MILLIS |
static java.lang.String |
ENABLED |
static java.lang.String |
EVAL_COMPLETED_TRANSACTIONS |
static java.lang.String |
ROOT |
static java.lang.String |
SYSTEM_PROPERTY_ROOT |
static java.lang.String |
THRESHOLD |
addDeprecatedProperties, COMMA_SEPARATOR, deprecatedProperties, SEMI_COLON_SEPARATOR, systemPropertyPrefix| Constructor and Description |
|---|
SlowTransactionsConfigImpl(java.util.Map<java.lang.String,java.lang.Object> pProps) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateCompletedTransactions()
By default, only in-progress transactions are checked for exceeding the defined
threshold time during a normal harvest cycle.
|
long |
getThresholdMillis()
The minimum number of milliseconds a transaction must be running to be
reported as slow.
|
boolean |
isEnabled()
True if the
SlowTransactionService is enabled, else false. |
addDeprecatedProperty, castValue, clearDeprecatedProperties, getDoubleProperty, getIntegerSet, getIntProperty, getProperties, getProperty, getProperty, getPropertyFromSystemEnvironment, getPropertyFromSystemProperties, getStringPropertyOrNull, getSystemPropertyKey, getUniqueStrings, getUniqueStrings, getUniqueStringsFromCollection, getUniqueStringsFromCollection, getUniqueStringsFromString, nestedPropspublic static final java.lang.String ROOT
public static final java.lang.String SYSTEM_PROPERTY_ROOT
public static final java.lang.String ENABLED
public static final java.lang.String THRESHOLD
public static final java.lang.String EVAL_COMPLETED_TRANSACTIONS
public static final boolean DEFAULT_ENABLED
public static final int DEFAULT_THRESHOLD_MILLIS
public static final boolean DEFAULT_EVAL_COMPLETED_TRANSACTIONS
public SlowTransactionsConfigImpl(java.util.Map<java.lang.String,java.lang.Object> pProps)
public boolean isEnabled()
SlowTransactionsConfigSlowTransactionService is enabled, else false.isEnabled in interface SlowTransactionsConfigpublic long getThresholdMillis()
SlowTransactionsConfiggetThresholdMillis in interface SlowTransactionsConfigpublic boolean evaluateCompletedTransactions()
SlowTransactionsConfigevaluateCompletedTransactions in interface SlowTransactionsConfig