Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
static FileWatchService |
getInstance() |
int |
getInterval() |
void |
register(File file,
Runnable callback) |
void |
register(File file,
Runnable callback,
boolean callOnRegistration) |
void |
run() |
void |
setInterval(int interval) |
void |
unregister(File file) |
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, yieldpublic static FileWatchService getInstance()
public int getInterval()
public void setInterval(int interval)
public void unregister(File file)
Copyright © 2018. All rights reserved.