| Package | Description |
|---|---|
| com.atlassian.instrumentation | |
| com.atlassian.instrumentation.operations | |
| com.atlassian.instrumentation.operations.registry |
| Modifier and Type | Method and Description |
|---|---|
OpTimer |
InstrumentRegistry.pullTimer(String name)
This is a pull through operation that guarantees to ATOMICALLY create a OpCounter under the name if its not
present OR use the previously created one if its there.
|
OpTimer |
DefaultInstrumentRegistry.pullTimer(String name)
This is a pull through operation that guarantees to ATOMICALLY create a OpCounter under the name if its not
present OR use the previously created one if its there.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleOpTimer
A new instance of this class will begin a profiling operation, one that can count how long an operation takes
and how much CPU it used.
|
| Modifier and Type | Method and Description |
|---|---|
OpTimer |
ThreadOpTimerFactory.createOpTimer(String name,
boolean captureCPUCost,
OpTimer.OnEndCallback endCallback) |
OpTimer |
ThreadLocalOpTimerFactory.createOpTimer(String name,
boolean captureCPUCost,
OpTimer.OnEndCallback endCallback) |
OpTimer |
SimpleOpTimerFactory.createOpTimer(String name,
boolean captureCPUCost,
OpTimer.OnEndCallback endCallback) |
OpTimer |
OpTimerFactory.createOpTimer(String name,
boolean captureCPUCost,
OpTimer.OnEndCallback endCallback)
This creates an OpTimer based on the passed in name and that will invoke the callback
when end is called.
|
| Modifier and Type | Method and Description |
|---|---|
OpTimer |
OpRegistry.pullTimer(String name)
Call this method to start an OpTimer.
|
Copyright © 2016 Atlassian. All rights reserved.