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