public class SearchIndexerThread extends SearchThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected FileFilter |
fFileFilter
file filter for tunes
|
protected Queue<File> |
fQueue |
fAborted, fForward, searchHit, searchStart, searchStop
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
SearchIndexerThread(File root,
Consumer<Void> searchStart,
Consumer<File> searchHit,
Consumer<Boolean> searchStop) |
Modifier and Type | Method and Description |
---|---|
Object |
getSearchState()
Get current search state
|
void |
run() |
void |
setSearchState(Object state)
Restore search state to continue search
|
getDirection, setAborted
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected FileFilter fFileFilter
public Object getSearchState()
SearchThread
getSearchState
in class SearchThread
public void setSearchState(Object state)
SearchThread
setSearchState
in class SearchThread
state
- the search stateCopyright © 2018 Ken Händel. All rights reserved.