java.lang.Object | |
↳ | com.atlassian.jira.instrumentation.Instrumentation |
A static singleton style class that exposes com.atlassian.instrumentation.DefaultInstrumentRegistry functionality. You can instrument JIRA code something like this
OpTimer timer = Instrumentation.pullTimer("some.operation"); try { ... some operation in JIRA ... } finally { timer.end(); }
This will cause invocation count and time taken information to be stored away in a com.atlassian.instrumentation.operations.OpCounter called "some.operation". Simple.
You do not have to worry about recording this data, it will be done for you later.
InstrumentationName
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.