public class RequestTracingExecutionOptions extends Object
| Constructor and Description |
|---|
RequestTracingExecutionOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotifierExecutionOption(NotifierExecutionOptions notifierExecutionOptions)
Adds a notifier to be used with request tracing
|
Integer |
getHistoricalTraceStoreSize()
Gets maximum the number of traces stored
|
Long |
getHistoricalTraceTimeout() |
Map<NotifierType,NotifierExecutionOptions> |
getNotifierExecutionOptionsList()
Gets the notifier options configured with request tracing
|
TimeUnit |
getThresholdUnit()
Gets the
TimeUnit which the threshold for request traces is using |
Long |
getThresholdValue()
Gets the threshold value above which request traces will be sent to the notification service
|
boolean |
isEnabled()
Whether request tracing is set to use the notification service at all
|
boolean |
isHistoricalTraceEnabled()
Returns true if a store of historic traces is enabled
|
void |
removeNotifierExecutionOption(NotifierExecutionOptions notifierExecutionOptions)
Removes a notifier from the list of configured ones
|
void |
resetNotifierExecutionOptions()
Removes all notifiers from the request tracing service
|
void |
setEnabled(boolean enabled)
Set whether request tracing is set to use the notification service at all
|
void |
setHistoricalTraceEnabled(boolean historicalTraceEnabled)
Set whether a store of historic traces is enabled
|
void |
setHistoricalTraceStoreSize(Integer historicalTraceStoreSize)
Sets the maximum number of traces to store
|
void |
setHistoricalTraceTimeout(Long historicalTraceTimeout) |
void |
setThresholdUnit(TimeUnit thresholdUnit)
Sets he
TimeUnit which the threshold for request traces is using |
void |
setThresholdValue(Long thresholdValue)
Sets the threshold value above which request traces will be sent to the notification service
|
String |
toString() |
public void addNotifierExecutionOption(NotifierExecutionOptions notifierExecutionOptions)
notifierExecutionOptions - public void removeNotifierExecutionOption(NotifierExecutionOptions notifierExecutionOptions)
notifierExecutionOptions - A notifier with the same type of this will be removedpublic void resetNotifierExecutionOptions()
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - public Long getThresholdValue()
getThresholdUnit()public void setThresholdValue(Long thresholdValue)
thresholdValue - setThresholdUnit(TimeUnit)public TimeUnit getThresholdUnit()
TimeUnit which the threshold for request traces is usinggetThresholdValue()public void setThresholdUnit(TimeUnit thresholdUnit)
TimeUnit which the threshold for request traces is usingthresholdUnit - setThresholdValue(Long)public boolean isHistoricalTraceEnabled()
public void setHistoricalTraceEnabled(boolean historicalTraceEnabled)
historicalTraceEnabled - public Integer getHistoricalTraceStoreSize()
public void setHistoricalTraceStoreSize(Integer historicalTraceStoreSize)
historicalTraceStoreSize - public Long getHistoricalTraceTimeout()
public void setHistoricalTraceTimeout(Long historicalTraceTimeout)
public Map<NotifierType,NotifierExecutionOptions> getNotifierExecutionOptionsList()
Copyright © 2017. All rights reserved.