Class OffheapMap.SamplingCleanup
java.lang.Object
java.lang.Thread
one.nio.os.BatchThread
OffheapMap<K,V>.one.nio.mem.OffheapMap.BasicCleanup
one.nio.mem.OffheapMap.SamplingCleanup
- All Implemented Interfaces:
Runnable
- Enclosing class:
OffheapMap<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class OffheapMap.BasicCleanup
waitLockFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcleanup()private intcollectSamples(long[] timestamps) Methods inherited from class OffheapMap.BasicCleanup
force, runMethods inherited from class BatchThread
adjustPriorityMethods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Constructor Details
-
SamplingCleanup
-
-
Method Details
-
cleanup
protected int cleanup()- Overrides:
cleanupin classOffheapMap<K,V>.BasicCleanup
-
collectSamples
private int collectSamples(long[] timestamps)
-