| Package | Description |
|---|---|
| com.atlassian.instrumentation.operations | |
| com.atlassian.instrumentation.operations.registry |
| Modifier and Type | Method and Description |
|---|---|
OpSnapshot |
OpSnapshot.add(OpSnapshot otherOpSnapshot)
Adds the values in the otherOpSnapshot to the current one and returns a new object repsentation of itself.
|
protected abstract OpSnapshot |
CachedExternalOpValue.computeValue()
This method is called to compute the value of the
CachedExternalOpValue |
static OpSnapshot |
OpSnapshot.createSingle(String name,
long elapsedTime,
long resultSetSize,
long cpuTime) |
OpSnapshot |
SimpleOpTimer.end() |
OpSnapshot |
OpTimer.end()
Call this in a finally{} block or at the end of the operation to stop the clock
|
OpSnapshot |
SimpleOpTimer.end(long resultSetSize) |
OpSnapshot |
OpTimer.end(long resultSetSize)
Call this in a finally{} block or at the end of the operation to stop the clock
|
OpSnapshot |
SimpleOpTimer.end(OpTimer.HeisenburgResultSetCalculator heisenburgResultSetCalculator) |
OpSnapshot |
OpTimer.end(OpTimer.HeisenburgResultSetCalculator heisenburgResultSetCalculator)
Call this in a finally{} block or at the end of the operation to stop the clock
|
OpSnapshot |
SimpleOpTimer.endWithTime(long timeInMillis) |
OpSnapshot |
OpTimer.endWithTime(long timeInMillis)
Call this in a finally{} block or at the end of the operation with the time taken by the operation
|
OpSnapshot |
ExternalOpValue.getSnapshot() |
OpSnapshot |
CachedExternalOpValue.getSnapshot() |
OpSnapshot |
SimpleOpTimer.snapshot() |
OpSnapshot |
OpTimer.snapshot()
This will return a snap shot of how long the timer has been running for.
|
OpSnapshot |
OpCounter.snapshot()
This returns the current snapshot value of the counter.
|
OpSnapshot |
OpSnapshot.substract(OpSnapshot previousSnapshot)
This can be used to find out the difference between this snapshot and a previous one
|
| Modifier and Type | Method and Description |
|---|---|
List<OpSnapshot> |
ThreadOpTimerFactory.snapshotAndClear()
This will snapshot the thread local
OpRegistry and clear its contents. |
List<OpSnapshot> |
ThreadLocalOpTimerFactory.snapshotAndClear()
This will snapshot the thread local
OpRegistry and remove its associated storage. |
| Modifier and Type | Method and Description |
|---|---|
OpSnapshot |
OpSnapshot.add(OpSnapshot otherOpSnapshot)
Adds the values in the otherOpSnapshot to the current one and returns a new object repsentation of itself.
|
OpCounter |
OpCounter.add(OpSnapshot opSnapshot)
Called to increment the values of the OpCounter by the values in the
OpSnapshot. |
void |
OpTimer.OnEndCallback.onEndCalled(OpSnapshot opSnapshot)
This callback method is called when the end() method has been called and the OpSnapshot created.
|
OpSnapshot |
OpSnapshot.substract(OpSnapshot previousSnapshot)
This can be used to find out the difference between this snapshot and a previous one
|
| Constructor and Description |
|---|
OpCounter(OpSnapshot opSnapshot) |
| Modifier and Type | Method and Description |
|---|---|
OpSnapshot |
OpFormatter.getSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
List<OpSnapshot> |
OpFinder.find(OpFinderFilter filter,
Comparator comparator)
This will search an OpRegistry and find all OpSnapshot values that are suitable to a given filter and are sorted
by the comparator.
|
List<OpSnapshot> |
OpRegistry.snapshot()
This returns a List of OpSnapshot objects that represent the values of the all the OpCounter's in the OpRegistry
at the time the method was called.
|
List<OpSnapshot> |
OpRegistry.snapshotAndClear()
This returns a List of OpSnapshot objects that represent the values of the all the OpCounter's in the OpRegistry
at the time the method was called and then clears the internal list of counters.
|
| Modifier and Type | Method and Description |
|---|---|
OpCounter |
OpRegistry.add(OpSnapshot srcOpSnapshot)
This will "pull" a counter into the registry and add the value of the OpCounter to it.
|
int |
OpSnapshotComparator.compare(OpSnapshot opSnapshot1,
OpSnapshot opSnapshot2)
Compares 2 OpSnapshot values to each other.
|
protected abstract int |
OpSnapshotComparator.compareThese(OpSnapshot opSnapshot1,
OpSnapshot opSnapshot2)
When this is called the null checks have been made and the objects have been cast.
|
boolean |
OpFinderFilter.filter(OpSnapshot opSnapshot)
This will return true if the OpSnapshot is to be included in an OpFinder search result.
|
protected int |
OpSnapshotComparator.sortByInvocation(OpSnapshot opSnapshot1,
OpSnapshot opSnapshot2)
This will sort in highest invocation count / highest time taken / highest result set size order / lowest name
order
|
protected int |
OpSnapshotComparator.sortByName(OpSnapshot opSnapshot1,
OpSnapshot opSnapshot2)
This will sort in lowest name / highest time taken / highest invocation count / highest result set size order
|
protected int |
OpSnapshotComparator.sortByResultSetSize(OpSnapshot opSnapshot1,
OpSnapshot opSnapshot2)
This will sort in highest result set size / highest invocation count / highest time taken / lowest name order
|
protected int |
OpSnapshotComparator.sortByTimeTaken(OpSnapshot opSnapshot1,
OpSnapshot opSnapshot2)
This will sort in highest time taken / highest invocation count / highest result set size order / lowest name
order
|
| Modifier and Type | Method and Description |
|---|---|
void |
OpRegistry.add(List<OpSnapshot> opSnapshotList)
This will "pull" a List of OpSnapshot objects into the current registry
|
| Constructor and Description |
|---|
OpFormatter(OpSnapshot snapshot) |
Copyright © 2016 Atlassian. All rights reserved.