| Package | Description |
|---|---|
| com.atlassian.instrumentation |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AbsoluteCounter
A AbsoluteCounter is a marker interface for a
Counter that resets is value to 0 every time AbsoluteCounter.getValue() is called. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbsoluteAtomicCounter
An AbsoluteCounter is a
Counter that resets its value to zero every time AbsoluteAtomicCounter.getValue() is called. |
class |
AtomicCounter
An implementation of
Counter that uses an AtomicLong for its value. |
class |
ExternalCounter
An ExternalCounter is a Counter that bases its value of an
ExternalValue value |
class |
SimpleCounter
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.
|
| Modifier and Type | Method and Description |
|---|---|
Counter |
InstrumentRegistry.pullCounter(String name)
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.
|
Counter |
DefaultInstrumentRegistry.pullCounter(String name)
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.
|
Copyright © 2016 Atlassian. All rights reserved.