Package me.ahoo.cosid.segment.concurrent
Class DefaultPrefetchWorker
java.lang.Object
java.lang.Thread
me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
- All Implemented Interfaces:
Runnable
,PrefetchWorker
Default Prefetch Worker.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel
(AffinityJob affinityJob) void
run()
void
shutdown()
void
submit
(AffinityJob affinityJob) void
wakeup
(AffinityJob affinityJob) 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
getName
-
Constructor Details
-
DefaultPrefetchWorker
-
-
Method Details
-
shutdown
public void shutdown()- Specified by:
shutdown
in interfacePrefetchWorker
-
submit
- Specified by:
submit
in interfacePrefetchWorker
-
cancel
- Specified by:
cancel
in interfacePrefetchWorker
-
wakeup
- Specified by:
wakeup
in interfacePrefetchWorker
-
run
public void run()
-