public class ViewDirectoryWatcher extends Object implements DirectoryWatcher
Modifier and Type | Field and Description |
---|---|
static int |
FILE_CHECK_INTERVAL_MILLIS |
static int |
FIXED_FILE_COUNTER |
Constructor and Description |
---|
ViewDirectoryWatcher() |
Modifier and Type | Method and Description |
---|---|
void |
addHook(com.google.common.base.Function<Path,Boolean> hook) |
boolean |
isRunning() |
void |
start() |
void |
stop() |
public static final int FIXED_FILE_COUNTER
public static final int FILE_CHECK_INTERVAL_MILLIS
public void start()
start
in interface DirectoryWatcher
public boolean isRunning()
isRunning
in interface DirectoryWatcher
public void stop()
stop
in interface DirectoryWatcher
Copyright © 2022 Apache Software Foundation. All rights reserved.