Package one.nio.mem
Class OffheapMap.SamplingCleanup
- java.lang.Object
-
- java.lang.Thread
-
- one.nio.os.BatchThread
-
- one.nio.mem.OffheapMap.BasicCleanup
-
- one.nio.mem.OffheapMap.SamplingCleanup
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- OffheapMap<K,V>
public class OffheapMap.SamplingCleanup extends OffheapMap.BasicCleanup
-
-
Field Summary
-
Fields inherited from class one.nio.mem.OffheapMap.BasicCleanup
waitLock
-
-
Constructor Summary
Constructors Constructor Description SamplingCleanup(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcleanup()private intcollectSamples(long[] timestamps)-
Methods inherited from class one.nio.mem.OffheapMap.BasicCleanup
force, run
-
Methods inherited from class one.nio.os.BatchThread
adjustPriority
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
cleanup
protected int cleanup()
- Overrides:
cleanupin classOffheapMap.BasicCleanup
-
collectSamples
private int collectSamples(long[] timestamps)
-
-