Class CachePerformanceCollector.CacheData
- java.lang.Object
-
- com.evolveum.midpoint.util.caching.CachePerformanceCollector.CacheData
-
- All Implemented Interfaces:
ShortDumpable
- Enclosing class:
- CachePerformanceCollector
public static class CachePerformanceCollector.CacheData extends Object implements ShortDumpable
-
-
Field Summary
Fields Modifier and Type Field Description AtomicInteger
hits
AtomicInteger
misses
AtomicInteger
notAvailable
AtomicInteger
passes
AtomicInteger
weakHits
-
Constructor Summary
Constructors Constructor Description CacheData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(AbstractThreadLocalCache cache)
AtomicInteger
getHits()
AtomicInteger
getMisses()
AtomicInteger
getNotAvailable()
AtomicInteger
getPasses()
AtomicInteger
getWeakHits()
void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Field Detail
-
hits
public final AtomicInteger hits
-
weakHits
public final AtomicInteger weakHits
-
misses
public final AtomicInteger misses
-
passes
public final AtomicInteger passes
-
notAvailable
public final AtomicInteger notAvailable
-
-
Method Detail
-
getHits
public AtomicInteger getHits()
-
getWeakHits
public AtomicInteger getWeakHits()
-
getMisses
public AtomicInteger getMisses()
-
getPasses
public AtomicInteger getPasses()
-
getNotAvailable
public AtomicInteger getNotAvailable()
-
add
public void add(AbstractThreadLocalCache cache)
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
-