- 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
-
- computeValue() - Method in class com.atlassian.instrumentation.operations.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
-
- CsvInstrumentExporter() - Constructor for class com.atlassian.instrumentation.export.CsvInstrumentExporter
-
- 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
-
- OpTimerFactory - Interface in com.atlassian.instrumentation.operations
-
- 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.
- 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