public final class FileWatcher
extends java.lang.Object
@SystemDependent
.Modifier and Type | Field and Description |
---|---|
static NotNullLazyValue<NotificationGroup> |
NOTIFICATION_GROUP |
static java.lang.String |
OTHER |
static java.lang.String |
RESET |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
java.util.Collection<java.lang.String> |
getManualWatchRoots() |
boolean |
isOperational() |
boolean |
isSettingRoots() |
void |
notifyOnFailure(java.lang.String cause,
NotificationListener listener) |
void |
shutdown() |
void |
startup(java.util.function.Consumer<? super java.lang.String> notifier) |
public static final NotNullLazyValue<NotificationGroup> NOTIFICATION_GROUP
public static final java.lang.String RESET
public static final java.lang.String OTHER
public void dispose()
public boolean isOperational()
public boolean isSettingRoots()
public java.util.Collection<java.lang.String> getManualWatchRoots()
public void notifyOnFailure(java.lang.String cause, NotificationListener listener)
public void startup(java.util.function.Consumer<? super java.lang.String> notifier) throws java.lang.Exception
java.lang.Exception
public void shutdown() throws java.lang.Exception
java.lang.Exception