public interface RequestListener
| Modifier and Type | Method and Description |
|---|---|
default String |
getLoggingKey()
This value will be used in the JSON object when logged to identify this collection of statistics.
|
String |
getName()
Get the name of the instrument that we are collecting
|
default List<String> |
getTags()
Get the tags that are associated with this instrument.
|
boolean |
isEnabled()
Returns true if the instrument is enabled.
|
Map<String,Object> |
onRequestEnd()
The request post-amble.
|
void |
onRequestStart()
Request preamble - run before the application's request processing starts.
|
void |
setEnabled(boolean enabled)
Set the instrument to have collection enabled if passed true.
|
String getName()
void onRequestStart()
default String getLoggingKey()
Map<String,Object> onRequestEnd()
default List<String> getTags()
boolean isEnabled()
void setEnabled(boolean enabled)
enabled - True to enable collection. False otherwise.Copyright © 2016 Atlassian. All rights reserved.