java.lang.Object | |
↳ | com.atlassian.jira.instrumentation.DefaultInstrumentationListenerManager |
Processes instrumentation listeners.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a listener
| |||||||||||
Apply function to each listener.
| |||||||||||
End of the context where we are not timing the execution.
| |||||||||||
Called at the end of the request to flush to the currently selected persistence mechanism.
| |||||||||||
Runs all the registered RequestListeners at the end of the
Request processing.
| |||||||||||
Run all the listeners at request start up.
| |||||||||||
Remove a listener.
| |||||||||||
Called at the beginning of a request to handle the setup.
| |||||||||||
Called at the beginning of a request to handle the setup.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||||||
From interface
com.atlassian.jira.instrumentation.InstrumentationListenerManager
|
Add a listener
listener | The listener to add. |
---|
Apply function to each listener.
apply | Run a function on each listener. |
---|
End of the context where we are not timing the execution.
Called at the end of the request to flush to the currently selected persistence mechanism. By default, 50 requests are stored in memory.
requestTime | An Optional that may contain the request time |
---|
Runs all the registered RequestListeners at the end of the Request processing.
path | The request path |
---|---|
traceId | If the request has an X-B3-traceId header then we use this as the unique ID. |
requestTime | An @{link Optional} that may contain the request time. |
Run all the listeners at request start up.
Remove a listener.
listener | The listener to remove. |
---|
Called at the beginning of a request to handle the setup.
path | An identifier for the request. This will be the path for HttpRequests and the thread name for threads. |
---|---|
traceId | Pass in a traceId. If it is null, then we will generate our own. |
Called at the beginning of a request to handle the setup.
path | An identifier for the request. This will be the path for HttpRequests and the thread name for threads. |
---|