| Package | Description |
|---|---|
| com.atlassian.instrumentation | |
| com.atlassian.instrumentation.caches |
| Modifier and Type | Method and Description |
|---|---|
CacheCounter |
InstrumentRegistry.pullCacheCounter(String name,
CacheCounter.Sizer sizer)
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. |
CacheCounter |
DefaultInstrumentRegistry.pullCacheCounter(String name,
CacheCounter.Sizer sizer) |
| Modifier and Type | Field and Description |
|---|---|
static CacheCounter.Sizer |
CacheCounter.NOOP_SIZER
A sizer that always returns -1
|
protected CacheCounter.Sizer |
CacheCounter.sizer |
| Constructor and Description |
|---|
CacheCounter(String name,
CacheCounter.Sizer sizer) |
Copyright © 2016 Atlassian. All rights reserved.