Skip navigation links
A B C D E F G H I J M N O P R S T V X 

A

AbsoluteAtomicCounter - Class in com.atlassian.instrumentation
An AbsoluteCounter is a Counter that resets its value to zero every time AbsoluteAtomicCounter.getValue() is called.
AbsoluteAtomicCounter(String) - Constructor for class com.atlassian.instrumentation.AbsoluteAtomicCounter
 
AbsoluteAtomicCounter(String, long) - Constructor for class com.atlassian.instrumentation.AbsoluteAtomicCounter
 
AbsoluteAtomicCounter(String, AtomicLong) - Constructor for class com.atlassian.instrumentation.AbsoluteAtomicCounter
 
AbsoluteCounter - Interface in com.atlassian.instrumentation
A AbsoluteCounter is a marker interface for a Counter that resets is value to 0 every time AbsoluteCounter.getValue() is called.
add(OpCounter) - Method in class com.atlassian.instrumentation.operations.OpCounter
Called to increment the values of the OpCounter by the values in another OpCounter.
add(OpSnapshot) - Method in class com.atlassian.instrumentation.operations.OpCounter
Called to increment the values of the OpCounter by the values in the OpSnapshot.
add(OpSnapshot) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
Adds the values in the otherOpSnapshot to the current one and returns a new object repsentation of itself.
add(OpCounter) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
This will "pull" a counter into the registry and add the value of the OpCounter to it.
add(OpSnapshot) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
This will "pull" a counter into the registry and add the value of the OpCounter to it.
add(OpRegistry) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
This will "pull" all the counters out of the passed in OpRegistry and add the values to counters under the same names in the current registry.
add(List<OpSnapshot>) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
This will "pull" a List of OpSnapshot objects into the current registry
addAndGet(long) - Method in class com.atlassian.instrumentation.AtomicCounter
 
addAndGet(long) - Method in class com.atlassian.instrumentation.AtomicGauge
 
addAndGet(long) - Method in interface com.atlassian.instrumentation.Counter
Adds the delta value to the current value and returns the new value.
addAndGet(long) - Method in class com.atlassian.instrumentation.ExternalCounter
 
addAndGet(long) - Method in class com.atlassian.instrumentation.ExternalGauge
 
addAndGet(long) - Method in interface com.atlassian.instrumentation.Gauge
Adds the delta value to the Gauge and returns the new value.
addAndGet(long) - Method in class com.atlassian.instrumentation.SimpleCounter
 
ALL - Static variable in class com.atlassian.instrumentation.operations.registry.OpFinder
This filter will always return true and hence includes ALL OpSnapshot values
Assertions - Class in com.atlassian.instrumentation.utils.dbc
Copy of Jeds DBC because I dont want to depend on atlassian-core.
Assertions() - Constructor for class com.atlassian.instrumentation.utils.dbc.Assertions
 
AtomicCounter - Class in com.atlassian.instrumentation
An implementation of Counter that uses an AtomicLong for its value.
AtomicCounter(String) - Constructor for class com.atlassian.instrumentation.AtomicCounter
 
AtomicCounter(String, long) - Constructor for class com.atlassian.instrumentation.AtomicCounter
 
AtomicCounter(String, AtomicLong) - Constructor for class com.atlassian.instrumentation.AtomicCounter
This constructor takes a reference to an AtomicLong that may be outside this Counter.
AtomicGauge - Class in com.atlassian.instrumentation
A simple implementation of Gauge
AtomicGauge(String) - Constructor for class com.atlassian.instrumentation.AtomicGauge
 
AtomicGauge(String, long) - Constructor for class com.atlassian.instrumentation.AtomicGauge
 
AtomicGauge(String, AtomicLong) - Constructor for class com.atlassian.instrumentation.AtomicGauge
This constructor takes a reference to an AtomicLong that may be outside this Gauge.

B

BY_DEFAULT - Static variable in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
The default is BY_TIME_TAKEN.
BY_INVOCATION_COUNT - Static variable in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in highest invocation count / highest time taken / highest result set size order / lowest name order
BY_NAME - Static variable in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in lowest name / highest time taken / highest invocation count / highest result set size order
BY_RESULT_SET_SIZE - Static variable in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in highest result set size / highest invocation count / highest time taken / lowest name order
BY_TIME_TAKEN - Static variable in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in highest time taken / highest invocation count / highest result set size order / lowest name order

C

CacheCollector - Class in com.atlassian.instrumentation.caches
CacheCollector can track cache hits and misses and give out statistics about how the cache is performing.
CacheCollector(String) - Constructor for class com.atlassian.instrumentation.caches.CacheCollector
 
CacheCollector(String, CacheCollector.Sizer) - Constructor for class com.atlassian.instrumentation.caches.CacheCollector
 
CacheCollector.Sizer - Interface in com.atlassian.instrumentation.caches
In order to find out how large a cache is, this callback interface is invoked to give a "guesstimate" about how large the cache is at present.
CacheCounter - Class in com.atlassian.instrumentation.caches
CacheCounter can track cache hits and misses and give out statistics about how the cache is performing
CacheCounter(String) - Constructor for class com.atlassian.instrumentation.caches.CacheCounter
 
CacheCounter(String, CacheCounter.Sizer) - Constructor for class com.atlassian.instrumentation.caches.CacheCounter
 
CacheCounter.Sizer - Interface in com.atlassian.instrumentation.caches
In order to find out how large a cache is, this callback interface is invoked to give a "guesstimate" about how large the cache is at present.
CachedExternalOpValue - Class in com.atlassian.instrumentation.operations
This class allows ExternalOpValues to be computed on as as needed basis and also cache the values for a certain length of time.
CachedExternalOpValue() - Constructor for class com.atlassian.instrumentation.operations.CachedExternalOpValue
By default 1 minute is the cache time out value
CachedExternalOpValue(long, TimeUnit) - Constructor for class com.atlassian.instrumentation.operations.CachedExternalOpValue
Creates a CachedExternalOpValue where the cache time is the values specified.
CachedExternalValue - Class in com.atlassian.instrumentation
This class allows values to be computed on as as needed basis and also cache the values for a certain length of time.
CachedExternalValue() - Constructor for class com.atlassian.instrumentation.CachedExternalValue
By default 1 minute is the cache time out value
CachedExternalValue(long, TimeUnit) - Constructor for class com.atlassian.instrumentation.CachedExternalValue
Creates a CachedExternalValue where the cache time is the values specified.
CacheInstrument - Interface in com.atlassian.instrumentation.caches
An instrument that counts cache hits and misses
CacheKeys - Enum in com.atlassian.instrumentation.caches
Enum for the key names when statistics are pushed into a map
calculate() - Method in interface com.atlassian.instrumentation.operations.OpTimer.HeisenburgResultSetCalculator
 
com.atlassian.instrumentation - package com.atlassian.instrumentation
 
com.atlassian.instrumentation.caches - package com.atlassian.instrumentation.caches
 
com.atlassian.instrumentation.compare - package com.atlassian.instrumentation.compare
 
com.atlassian.instrumentation.export - package com.atlassian.instrumentation.export
 
com.atlassian.instrumentation.operations - package com.atlassian.instrumentation.operations
 
com.atlassian.instrumentation.operations.registry - package com.atlassian.instrumentation.operations.registry
 
com.atlassian.instrumentation.utils.dbc - package com.atlassian.instrumentation.utils.dbc
 
compare(Instrument, Instrument) - Method in class com.atlassian.instrumentation.compare.InstrumentComparator
 
compare(Instrument, Instrument) - Method in class com.atlassian.instrumentation.compare.InstrumentNameComparator
 
compare(OpSnapshot, OpSnapshot) - Method in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
Compares 2 OpSnapshot values to each other.
compareThese(OpSnapshot, OpSnapshot) - Method in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
When this is called the null checks have been made and the objects have been cast.
compareTo(Instrument) - Method in class com.atlassian.instrumentation.AtomicCounter
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.AtomicGauge
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.ExternalCounter
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.ExternalGauge
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.operations.OpCounter
A compareTo method that uses underlying OpSnapshot compareTo
compareTo(Instrument) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
By default it sorts in name / highest time taken / highest invocation count / highest result set size order
compareTo(Instrument) - Method in class com.atlassian.instrumentation.SimpleCounter
 
compareTo(Instrument) - Method in class com.atlassian.instrumentation.SimpleTimer
 
computeValue() - Method in class com.atlassian.instrumentation.CachedExternalValue
This method is called to compute the value of the ExternalValue
computeValue() - Method in class com.atlassian.instrumentation.operations.CachedExternalOpValue
This method is called to compute the value of the CachedExternalOpValue
Counter - Interface in com.atlassian.instrumentation
A Counter is a Instrument that can only increase in value.
createOpTimer(String, boolean, OpTimer.OnEndCallback) - Method in interface com.atlassian.instrumentation.operations.OpTimerFactory
This creates an OpTimer based on the passed in name and that will invoke the callback when end is called.
createOpTimer(String, boolean, OpTimer.OnEndCallback) - Method in class com.atlassian.instrumentation.operations.SimpleOpTimerFactory
 
createOpTimer(String, boolean, OpTimer.OnEndCallback) - Method in class com.atlassian.instrumentation.operations.ThreadLocalOpTimerFactory
 
createOpTimer(String, boolean, OpTimer.OnEndCallback) - Method in interface com.atlassian.instrumentation.operations.ThreadOpTimerFactory
 
createSingle(String, long, long, long) - Static method in class com.atlassian.instrumentation.operations.OpSnapshot
 
CsvInstrumentExporter - Class in com.atlassian.instrumentation.export
A CSV implementation of InstrumentExporter
CsvInstrumentExporter() - Constructor for class com.atlassian.instrumentation.export.CsvInstrumentExporter
 

D

decrementAndGet() - Method in class com.atlassian.instrumentation.AtomicGauge
 
decrementAndGet() - Method in class com.atlassian.instrumentation.ExternalGauge
 
decrementAndGet() - Method in interface com.atlassian.instrumentation.Gauge
Decrements one from the Gauge and returns the new value
DEFAULT_FORMAT_STR - Static variable in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
DefaultInstrumentRegistry - Class in com.atlassian.instrumentation
This is a glorified Map/Set of Instrument's.
DefaultInstrumentRegistry() - Constructor for class com.atlassian.instrumentation.DefaultInstrumentRegistry
Creates a default implementation that uses a SimpleOpTimerFactory
DefaultInstrumentRegistry(OpTimerFactory, RegistryConfiguration) - Constructor for class com.atlassian.instrumentation.DefaultInstrumentRegistry
Creates an implementation that used the passed in OpTimerFactory
DerivedAtomicCounter - Class in com.atlassian.instrumentation
An implementation of DerivedCounter
DerivedAtomicCounter(String) - Constructor for class com.atlassian.instrumentation.DerivedAtomicCounter
 
DerivedAtomicCounter(String, long) - Constructor for class com.atlassian.instrumentation.DerivedAtomicCounter
 
DerivedAtomicCounter(String, AtomicLong) - Constructor for class com.atlassian.instrumentation.DerivedAtomicCounter
 
DerivedCounter - Interface in com.atlassian.instrumentation
A DerivedCounter is a marker interface for a Gauge that should be treated as a Counter in terms of rate of change recording but that allows is value to decrease.

E

end(long) - Method in interface com.atlassian.instrumentation.operations.OpTimer
Call this in a finally{} block or at the end of the operation to stop the clock
end() - Method in interface com.atlassian.instrumentation.operations.OpTimer
Call this in a finally{} block or at the end of the operation to stop the clock
end(OpTimer.HeisenburgResultSetCalculator) - Method in interface com.atlassian.instrumentation.operations.OpTimer
Call this in a finally{} block or at the end of the operation to stop the clock
end(long) - Method in class com.atlassian.instrumentation.operations.SimpleOpTimer
 
end() - Method in class com.atlassian.instrumentation.operations.SimpleOpTimer
 
end(OpTimer.HeisenburgResultSetCalculator) - Method in class com.atlassian.instrumentation.operations.SimpleOpTimer
 
end() - Method in class com.atlassian.instrumentation.SimpleTimer
 
endWithTime(long) - Method in interface com.atlassian.instrumentation.operations.OpTimer
Call this in a finally{} block or at the end of the operation with the time taken by the operation
endWithTime(long) - Method in class com.atlassian.instrumentation.operations.SimpleOpTimer
 
equals(Object) - Method in class com.atlassian.instrumentation.operations.OpCounter
 
equals(Object) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
export(List<Instrument>, Writer) - Method in class com.atlassian.instrumentation.export.CsvInstrumentExporter
 
export(Instrument) - Method in class com.atlassian.instrumentation.export.CsvInstrumentExporter
 
export(List<Instrument>, Writer) - Method in interface com.atlassian.instrumentation.export.InstrumentExporter
Called to export the list of Instruments into a specific format
export(Instrument) - Method in interface com.atlassian.instrumentation.export.InstrumentExporter
Converts a single Instrument to a string representation
export(List<Instrument>, Writer) - Method in class com.atlassian.instrumentation.export.JsonInstrumentExporter
 
export(Instrument) - Method in class com.atlassian.instrumentation.export.JsonInstrumentExporter
 
export(List<Instrument>, Writer) - Method in class com.atlassian.instrumentation.export.XmlInstrumentExporter
 
export(Instrument) - Method in class com.atlassian.instrumentation.export.XmlInstrumentExporter
 
ExternalCounter - Class in com.atlassian.instrumentation
An ExternalCounter is a Counter that bases its value of an ExternalValue value
ExternalCounter(String, ExternalValue) - Constructor for class com.atlassian.instrumentation.ExternalCounter
Constructs a Counter that reads its value from the ExternalValue provided.
ExternalGauge - Class in com.atlassian.instrumentation
An ExternalGauge is a Gauge that bases its value of an ExternalValue value
ExternalGauge(String, ExternalValue) - Constructor for class com.atlassian.instrumentation.ExternalGauge
Constructs a Gauge that reads its value from the ExternalValue provided.
ExternalOpInstrument - Class in com.atlassian.instrumentation.operations
This class represents an OpInstrument that is calculated externally on demand from values that are "external" to this class.
ExternalOpInstrument(String, ExternalOpValue) - Constructor for class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
ExternalOpValue - Interface in com.atlassian.instrumentation.operations
ExternalOpValue can be used to read values from "external" places in the system and provide them as OpSnapshot values.
ExternalValue - Interface in com.atlassian.instrumentation
The ExternalValue interface is used to provide Instrument values from some external piece of code.

F

filter(OpSnapshot) - Method in interface com.atlassian.instrumentation.operations.registry.OpFinderFilter
This will return true if the OpSnapshot is to be included in an OpFinder search result.
find() - Method in class com.atlassian.instrumentation.operations.registry.OpFinder
This will return ALL values from the OpRegistry sorted into OpSnapshotComparator.BY_DEFAULT order.
find(Comparator) - Method in class com.atlassian.instrumentation.operations.registry.OpFinder
This will return ALL values in the OpRegistry sorted into the order distated by the comparator.
find(OpFinderFilter, Comparator) - Method in class com.atlassian.instrumentation.operations.registry.OpFinder
This will search an OpRegistry and find all OpSnapshot values that are suitable to a given filter and are sorted by the comparator.

G

Gauge - Interface in com.atlassian.instrumentation
A Gauge is a Instrument that can oscillate its value over time.
get(String) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
Returns the OpCounter under the specified name or null if its not present.
getCacheSize() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getCacheSize() - Method in interface com.atlassian.instrumentation.caches.CacheCollector.Sizer
 
getCacheSize() - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
getCacheSize() - Method in interface com.atlassian.instrumentation.caches.CacheCounter.Sizer
 
getCacheSize() - Method in interface com.atlassian.instrumentation.caches.CacheInstrument
 
getCounter() - Method in class com.atlassian.instrumentation.caches.CacheCollector
Returns the counter that is on the ThreadLocal.
getCpuMaxTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getCpuMaxTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getCpuMaxTime(TimeUnit) - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getCpuMaxTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getCpuMinTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getCpuMinTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getCpuMinTime(TimeUnit) - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getCpuMinTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getCpuTime() - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getCpuTime() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getCpuTime() - Method in interface com.atlassian.instrumentation.operations.OpInstrument
Deprecated.
getCpuTime() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getCpuTotalTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getCpuTotalTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getCpuTotalTime(TimeUnit) - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getCpuTotalTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getDuration() - Method in class com.atlassian.instrumentation.SimpleTimer
 
getElapsedMaxTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getElapsedMaxTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getElapsedMaxTime(TimeUnit) - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getElapsedMaxTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getElapsedMinTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getElapsedMinTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getElapsedMinTime(TimeUnit) - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getElapsedMinTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getElapsedTotalTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getElapsedTotalTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getElapsedTotalTime(TimeUnit) - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getElapsedTotalTime(TimeUnit) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getHitMissRatio() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getHitMissRatio() - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
getHitMissRatio() - Method in interface com.atlassian.instrumentation.caches.CacheInstrument
 
getHits() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getHits() - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
getHits() - Method in interface com.atlassian.instrumentation.caches.CacheInstrument
 
getInstrument(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
Returns an Instrument from the registry with the specified name
getInstrument(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
Returns an Instrument from the registry with the specified name
getInvocationCount() - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getInvocationCount() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getInvocationCount() - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getInvocationCount() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getInvocationCount() - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getLoggingKey() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getLoggingKey() - Method in interface com.atlassian.instrumentation.caches.RequestListener
This value will be used in the JSON object when logged to identify this collection of statistics.
getMillisecondsPerInvocation() - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getMillisecondsPerInvocation(String) - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getMillisecondsTaken() - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getMillisecondsTaken() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getMillisecondsTaken() - Method in interface com.atlassian.instrumentation.operations.OpInstrument
Deprecated.
getMillisecondsTaken() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getMillisecondsTaken() - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getMimeType() - Method in class com.atlassian.instrumentation.export.CsvInstrumentExporter
 
getMimeType() - Method in interface com.atlassian.instrumentation.export.InstrumentExporter
Returns the mime type for the export
getMimeType() - Method in class com.atlassian.instrumentation.export.JsonInstrumentExporter
 
getMimeType() - Method in class com.atlassian.instrumentation.export.XmlInstrumentExporter
 
getMisses() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getMisses() - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
getMisses() - Method in interface com.atlassian.instrumentation.caches.CacheInstrument
 
getMissTime() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getMissTime() - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
getMissTime() - Method in interface com.atlassian.instrumentation.caches.CacheInstrument
 
getName() - Method in class com.atlassian.instrumentation.AtomicCounter
 
getName() - Method in class com.atlassian.instrumentation.AtomicGauge
 
getName() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getName() - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
getName() - Method in enum com.atlassian.instrumentation.caches.CacheKeys
 
getName() - Method in interface com.atlassian.instrumentation.caches.RequestListener
Get the name of the instrument that we are collecting
getName() - Method in class com.atlassian.instrumentation.ExternalCounter
 
getName() - Method in class com.atlassian.instrumentation.ExternalGauge
 
getName() - Method in interface com.atlassian.instrumentation.Instrument
 
getName() - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getName() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getName() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getName() - Method in interface com.atlassian.instrumentation.operations.OpTimer
The name of the timer.
getName() - Method in class com.atlassian.instrumentation.operations.SimpleOpTimer
 
getName() - Method in class com.atlassian.instrumentation.SimpleCounter
 
getName() - Method in class com.atlassian.instrumentation.SimpleTimer
 
getNumberOfInstruments() - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
 
getNumberOfInstruments() - Method in interface com.atlassian.instrumentation.InstrumentRegistry
Returns the number of instruments that exist.
getOpRegistry() - Method in class com.atlassian.instrumentation.operations.ThreadLocalOpTimerFactory
 
getOpRegistry() - Method in interface com.atlassian.instrumentation.operations.ThreadOpTimerFactory
 
getPuts() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getRegistryConfiguration() - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
 
getRegistryConfiguration() - Method in interface com.atlassian.instrumentation.InstrumentRegistry
 
getRegistryHomeDirectory() - Method in interface com.atlassian.instrumentation.RegistryConfiguration
Related instrumentation code can want to store file on disk in home directory.
getRegistryName() - Method in interface com.atlassian.instrumentation.RegistryConfiguration
 
getRemoves() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getResultSetSize() - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getResultSetSize() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getResultSetSize() - Method in interface com.atlassian.instrumentation.operations.OpInstrument
 
getResultSetSize() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
getSecondsPerInvocation() - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getSecondsPerInvocation(String) - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getSecondsTaken() - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getSecondsTaken(String) - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getSnapshot() - Method in class com.atlassian.instrumentation.operations.CachedExternalOpValue
 
getSnapshot() - Method in interface com.atlassian.instrumentation.operations.ExternalOpValue
 
getSnapshot() - Method in class com.atlassian.instrumentation.operations.registry.OpFormatter
 
getSplits() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getTags() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getTags() - Method in interface com.atlassian.instrumentation.caches.RequestListener
Get the tags that are associated with this instrument.
getValue() - Method in class com.atlassian.instrumentation.AbsoluteAtomicCounter
Whenever this method is called, the counter is reset to zero after the values is returned.
getValue() - Method in interface com.atlassian.instrumentation.AbsoluteCounter
Whenever this is called, the current value is returned and the value is reset to zero.
getValue() - Method in class com.atlassian.instrumentation.AtomicCounter
 
getValue() - Method in class com.atlassian.instrumentation.AtomicGauge
 
getValue() - Method in class com.atlassian.instrumentation.CachedExternalValue
 
getValue() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
getValue() - Method in class com.atlassian.instrumentation.caches.CacheCounter
 
getValue() - Method in class com.atlassian.instrumentation.ExternalCounter
 
getValue() - Method in class com.atlassian.instrumentation.ExternalGauge
 
getValue() - Method in interface com.atlassian.instrumentation.ExternalValue
 
getValue() - Method in interface com.atlassian.instrumentation.Instrument
 
getValue() - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
getValue() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
getValue() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
getValue() - Method in class com.atlassian.instrumentation.SimpleCounter
 
getValue() - Method in class com.atlassian.instrumentation.SimpleTimer
 

H

hashCode() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
hashCode() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
hit() - Method in class com.atlassian.instrumentation.caches.CacheCollector
Call this to record a hits on the instrumented cache
hit() - Method in class com.atlassian.instrumentation.caches.CacheCounter
Call this to record a hits on the instrumented cache
hits - Variable in class com.atlassian.instrumentation.caches.CacheCounter
 

I

incrementAndGet() - Method in class com.atlassian.instrumentation.AtomicCounter
 
incrementAndGet() - Method in class com.atlassian.instrumentation.AtomicGauge
 
incrementAndGet() - Method in interface com.atlassian.instrumentation.Counter
Returns the new value after one has been added to the Counter.
incrementAndGet() - Method in class com.atlassian.instrumentation.ExternalCounter
 
incrementAndGet() - Method in class com.atlassian.instrumentation.ExternalGauge
 
incrementAndGet() - Method in interface com.atlassian.instrumentation.Gauge
Adds one to the Gauge and returns the new value
incrementAndGet() - Method in class com.atlassian.instrumentation.SimpleCounter
 
Instrument - Interface in com.atlassian.instrumentation
An Instrument is a "named" monitored object that can return a value.
InstrumentComparator - Class in com.atlassian.instrumentation.compare
InstrumentComparator() - Constructor for class com.atlassian.instrumentation.compare.InstrumentComparator
 
InstrumentExporter - Interface in com.atlassian.instrumentation.export
InstrumentExporter is able to export a list of Instruments to a specific file format, such as XML or JSON.
InstrumentNameComparator - Class in com.atlassian.instrumentation.compare
A Comparator for sorting Instruments by name
InstrumentNameComparator() - Constructor for class com.atlassian.instrumentation.compare.InstrumentNameComparator
 
InstrumentRegistry - Interface in com.atlassian.instrumentation
This is a glorified Map/Set of Instrument's.
InstrumentToStringBuilder - Class in com.atlassian.instrumentation
A string builder for Instruments
InstrumentToStringBuilder() - Constructor for class com.atlassian.instrumentation.InstrumentToStringBuilder
 
isCPUCostCollected() - Method in interface com.atlassian.instrumentation.RegistryConfiguration
 
isEnabled() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
isEnabled() - Method in interface com.atlassian.instrumentation.caches.RequestListener
Returns true if the instrument is enabled.

J

JsonInstrumentExporter - Class in com.atlassian.instrumentation.export
A JSON implementation of InstrumentExporter
JsonInstrumentExporter() - Constructor for class com.atlassian.instrumentation.export.JsonInstrumentExporter
 

M

miss() - Method in class com.atlassian.instrumentation.caches.CacheCollector
Call this to record a misses on the instrumented cache
miss(long) - Method in class com.atlassian.instrumentation.caches.CacheCollector
Record a misses on the instrumented cache and how long it took to create the object that was missed.
miss() - Method in class com.atlassian.instrumentation.caches.CacheCounter
Call this to record a misses on the instrumented cache
miss(long) - Method in class com.atlassian.instrumentation.caches.CacheCounter
Call this to record a misses on the instrumented cache and how long it took to create the object that was missed.
miss(Callable<T>) - Method in class com.atlassian.instrumentation.caches.CacheCounter
Call this to record a misses on the instrumented cache and how long it took to create the object that was missed.
misses - Variable in class com.atlassian.instrumentation.caches.CacheCounter
 
missTime - Variable in class com.atlassian.instrumentation.caches.CacheCounter
 

N

name - Variable in class com.atlassian.instrumentation.AtomicCounter
 
name - Variable in class com.atlassian.instrumentation.AtomicGauge
 
name - Variable in class com.atlassian.instrumentation.caches.CacheCollector
 
name - Variable in class com.atlassian.instrumentation.caches.CacheCounter
 
NOOP_SIZER - Static variable in class com.atlassian.instrumentation.caches.CacheCollector
A sizer that always returns -1
NOOP_SIZER - Static variable in class com.atlassian.instrumentation.caches.CacheCounter
A sizer that always returns -1
notNegative(String, double) - Static method in class com.atlassian.instrumentation.utils.dbc.Assertions
Asserts that the passed in value is not a negative number.
notNull(String, T) - Static method in class com.atlassian.instrumentation.utils.dbc.Assertions
 

O

onEndCalled(OpSnapshot) - Method in interface com.atlassian.instrumentation.operations.OpTimer.OnEndCallback
This callback method is called when the end() method has been called and the OpSnapshot created.
onRequestEnd() - Method in class com.atlassian.instrumentation.caches.CacheCollector
Process data collected at the end of the request.
onRequestEnd() - Method in interface com.atlassian.instrumentation.caches.RequestListener
The request post-amble.
onRequestStart() - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
onRequestStart() - Method in interface com.atlassian.instrumentation.caches.RequestListener
Request preamble - run before the application's request processing starts.
OpCounter - Class in com.atlassian.instrumentation.operations
A OpCounter can keep track of how long a computing operation takes and how many times it has been invoked, as well as optionally how bug the result set size was
OpCounter(String) - Constructor for class com.atlassian.instrumentation.operations.OpCounter
 
OpCounter(OpSnapshot) - Constructor for class com.atlassian.instrumentation.operations.OpCounter
 
OpCounter(String, long, long, long, long, long, long, long, long) - Constructor for class com.atlassian.instrumentation.operations.OpCounter
 
OpFinder - Class in com.atlassian.instrumentation.operations.registry
OpFinder is as class that can search a OpRegistry and return OpSnapshot values in interesting and sorted ways
OpFinder(OpRegistry) - Constructor for class com.atlassian.instrumentation.operations.registry.OpFinder
 
OpFinderFilter - Interface in com.atlassian.instrumentation.operations.registry
This simple filter interface is used to filter out OpSnapshot values when an OpFilter is used
OpFormatter - Class in com.atlassian.instrumentation.operations.registry
A helper class that can format the values of a OpSnapshot and work out some basic calculations for you.
OpFormatter(OpSnapshot) - Constructor for class com.atlassian.instrumentation.operations.registry.OpFormatter
 
OpInstrument - Interface in com.atlassian.instrumentation.operations
An OpInstrument is a type of @{link Instrument} that exposes 8 values.
OpRegistry - Class in com.atlassian.instrumentation.operations.registry
This is a glorified Map/Set of OpCounter's that are in some way related.
OpRegistry() - Constructor for class com.atlassian.instrumentation.operations.registry.OpRegistry
 
OpSnapshot - Class in com.atlassian.instrumentation.operations
This is an snapshot instance of a named operation's timing, invocation count and its result set size.
OpSnapshot(String, long, long, long, long, long, long, long, long) - Constructor for class com.atlassian.instrumentation.operations.OpSnapshot
Constructs a OpSnapshot with the specified values.
OpSnapshotComparator - Class in com.atlassian.instrumentation.operations.registry
A comparator helper for comparing OpSnapshot objects
OpSnapshotComparator() - Constructor for class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
 
OpTimer - Interface in com.atlassian.instrumentation.operations
OpTimer is an interface to represent the "timing" of a particular computing operation.
OpTimer.HeisenburgResultSetCalculator - Interface in com.atlassian.instrumentation.operations
This interface can be used to avoid HEISENBERG effects when trying to time how long an operation takes.
OpTimer.OnEndCallback - Interface in com.atlassian.instrumentation.operations
This interface can be provided to OpTimerFactory are creation time to have a call back when OpTimer.end(long) is called
OpTimerFactory - Interface in com.atlassian.instrumentation.operations
This will create OpTimer instances

P

pull(String) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
This is a pull through operation that guarantees to ATOMICALLy create an OpCounter under the name if its not present OR return the previously created one if its there.
pullAbsoluteCounter(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a AbsoluteCounter under the name if its not present OR return the previously created one if its there.
pullAbsoluteCounter(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a AbsoluteCounter under the name if its not present OR return the previously created one if its there.
pullCacheCollector(String, CacheCollector.Sizer) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
 
pullCacheCollector(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
 
pullCacheCollector(String, CacheCollector.Sizer) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a CacheCollector under the name if its not present OR return the previously created one if its there.
pullCacheCollector(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a CacheCounter under the name if its not present OR return the previously created one if its there.
pullCacheCounter(String, CacheCounter.Sizer) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
 
pullCacheCounter(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
 
pullCacheCounter(String, CacheCounter.Sizer) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a CacheCounter under the name if its not present OR return the previously created one if its there.
pullCacheCounter(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a CacheCounter under the name if its not present OR return the previously created one if its there.
pullCounter(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a Counter under the name if its not present OR return the previously created one if its there.
pullCounter(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a Counter under the name if its not present OR return the previously created one if its there.
pullDerivedCounter(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a DerivedCounter under the name if its not present OR return the previously created one if its there.
pullDerivedCounter(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a DerivedCounter under the name if its not present OR return the previously created one if its there.
pullGauge(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a Gauge under the name if its not present OR return the previously created one if its there.
pullGauge(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create a Gauge under the name if its not present OR return the previously created one if its there.
pullOpCounter(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create an OpCounter under the name if its not present OR return the previously created one if its there.
pullOpCounter(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This is a pull through operation that guarantees to ATOMICALLY create an OpCounter under the name if its not present OR return the previously created one if its there.
pullTimer(String) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
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.
pullTimer(String) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
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.
pullTimer(String) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
Call this method to start an OpTimer.
put() - Method in class com.atlassian.instrumentation.caches.CacheCollector
Call this to record a new put into the cache.
put(OpCounter) - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
Can be called to PUT a counter into the registry.
putIfAbsent(String, Instrument) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This will be called if a Instrument may be put into the map of known instruments.
putInstrument(Instrument) - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This will put an Instrument into the registry, ATOMICALLY overwriting any previous Instrument value.
putInstrument(Instrument) - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This will put an Instrument into the registry, atomically overwriting any previous Instrument value.

R

RegistryConfiguration - Interface in com.atlassian.instrumentation
This configures information about the registry.
remove() - Method in class com.atlassian.instrumentation.caches.CacheCollector
Count removes from the cache.
RequestListener - Interface in com.atlassian.instrumentation.caches
Provides an interface for a collector that can be called at the beginning and the end of a request to collect statistics for saving.

S

setEnabled(boolean) - Method in class com.atlassian.instrumentation.caches.CacheCollector
 
setEnabled(boolean) - Method in interface com.atlassian.instrumentation.caches.RequestListener
Set the instrument to have collection enabled if passed true.
SimpleCounter - Class in com.atlassian.instrumentation
This instrument is a counter designed for situations where thread safety is not required and hence does not have the overhead of a synchronized counter.
SimpleCounter(String) - Constructor for class com.atlassian.instrumentation.SimpleCounter
 
SimpleOpTimer - Class in com.atlassian.instrumentation.operations
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.
SimpleOpTimer(String) - Constructor for class com.atlassian.instrumentation.operations.SimpleOpTimer
Once you construct a SimpleOpTimer, the timer is started.
SimpleOpTimer(String, boolean, OpTimer.OnEndCallback) - Constructor for class com.atlassian.instrumentation.operations.SimpleOpTimer
 
SimpleOpTimerFactory - Class in com.atlassian.instrumentation.operations
An implementation of OpTimerFactory
SimpleOpTimerFactory() - Constructor for class com.atlassian.instrumentation.operations.SimpleOpTimerFactory
 
SimpleTimer - Class in com.atlassian.instrumentation
This instrument is a timer designed for situations where thread safety is not required and hence the overhead of a synchronized value is removed.
SimpleTimer(String) - Constructor for class com.atlassian.instrumentation.SimpleTimer
 
SimpleTimer(String, Duration) - Constructor for class com.atlassian.instrumentation.SimpleTimer
 
SimpleTimer(String, long) - Constructor for class com.atlassian.instrumentation.SimpleTimer
Create a new split with a load time in nanoseconds.
sizer - Variable in class com.atlassian.instrumentation.caches.CacheCollector
 
sizer - Variable in class com.atlassian.instrumentation.caches.CacheCounter
 
snapshot() - Method in class com.atlassian.instrumentation.operations.OpCounter
This returns the current snapshot value of the counter.
snapshot() - Method in interface com.atlassian.instrumentation.operations.OpTimer
This will return a snap shot of how long the timer has been running for.
snapshot() - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
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.
snapshot() - Method in class com.atlassian.instrumentation.operations.SimpleOpTimer
 
snapshotAndClear() - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
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.
snapshotAndClear() - Method in class com.atlassian.instrumentation.operations.ThreadLocalOpTimerFactory
This will snapshot the thread local OpRegistry and remove its associated storage.
snapshotAndClear() - Method in interface com.atlassian.instrumentation.operations.ThreadOpTimerFactory
This will snapshot the thread local OpRegistry and clear its contents.
snapshotInstruments() - Method in class com.atlassian.instrumentation.DefaultInstrumentRegistry
This returns a snapshot list of Instrument objects in the InstrumentRegistry at the time the method was called.
snapshotInstruments() - Method in interface com.atlassian.instrumentation.InstrumentRegistry
This returns a snapshot list of Instrument objects in the InstrumentRegistry at the time the method was called.
sortByInvocation(OpSnapshot, OpSnapshot) - Method in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in highest invocation count / highest time taken / highest result set size order / lowest name order
sortByName(OpSnapshot, OpSnapshot) - Method in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in lowest name / highest time taken / highest invocation count / highest result set size order
sortByResultSetSize(OpSnapshot, OpSnapshot) - Method in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in highest result set size / highest invocation count / highest time taken / lowest name order
sortByTimeTaken(OpSnapshot, OpSnapshot) - Method in class com.atlassian.instrumentation.operations.registry.OpSnapshotComparator
This will sort in highest time taken / highest invocation count / highest result set size order / lowest name order
start() - Method in class com.atlassian.instrumentation.SimpleTimer
 
substract(OpSnapshot) - Method in class com.atlassian.instrumentation.operations.OpSnapshot
This can be used to find out the difference between this snapshot and a previous one

T

ThreadLocalOpTimerFactory - Class in com.atlassian.instrumentation.operations
ThreadOpTimerFactory that is implemented using a ThreadLocal.
ThreadLocalOpTimerFactory() - Constructor for class com.atlassian.instrumentation.operations.ThreadLocalOpTimerFactory
 
ThreadOpTimerFactory - Interface in com.atlassian.instrumentation.operations
This factory allows you to track values for a given thread.
toString() - Method in class com.atlassian.instrumentation.AtomicCounter
 
toString() - Method in class com.atlassian.instrumentation.AtomicGauge
 
toString() - Method in enum com.atlassian.instrumentation.caches.CacheKeys
 
toString() - Method in class com.atlassian.instrumentation.ExternalCounter
 
toString() - Method in class com.atlassian.instrumentation.ExternalGauge
 
toString(Instrument) - Static method in class com.atlassian.instrumentation.InstrumentToStringBuilder
 
toString() - Method in class com.atlassian.instrumentation.operations.ExternalOpInstrument
 
toString() - Method in class com.atlassian.instrumentation.operations.OpCounter
 
toString() - Method in class com.atlassian.instrumentation.operations.OpSnapshot
 
toString() - Method in class com.atlassian.instrumentation.operations.registry.OpRegistry
 

V

value - Variable in class com.atlassian.instrumentation.AtomicCounter
 
value - Variable in class com.atlassian.instrumentation.AtomicGauge
 
valueOf(String) - Static method in enum com.atlassian.instrumentation.caches.CacheKeys
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.atlassian.instrumentation.caches.CacheKeys
Returns an array containing the constants of this enum type, in the order they are declared.

X

XmlInstrumentExporter - Class in com.atlassian.instrumentation.export
An XML implementation
XmlInstrumentExporter() - Constructor for class com.atlassian.instrumentation.export.XmlInstrumentExporter
 
A B C D E F G H I J M N O P R S T V X 
Skip navigation links

Copyright © 2016 Atlassian. All rights reserved.