Package one.nio.mem
Class OffheapMap.BasicCleanup
- java.lang.Object
-
- java.lang.Thread
-
- one.nio.os.BatchThread
-
- one.nio.mem.OffheapMap.BasicCleanup
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
OffheapMap.SamplingCleanup
- Enclosing class:
- OffheapMap<K,V>
public class OffheapMap.BasicCleanup extends BatchThread
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectwaitLock
-
Constructor Summary
Constructors Constructor Description BasicCleanup(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcleanup()voidforce()voidrun()-
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
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classBatchThread
-
force
public void force()
-
cleanup
protected int cleanup()
-
-