public class FSWatchUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FSWatchUtil.Watcher |
| Constructor and Description |
|---|
FSWatchUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
observe(Collection<FSWatchUtil.Watcher> watchers,
long intervalMs)
in a loop, checks for modifications in the files
|
static void |
shutdown() |
public static void observe(Collection<FSWatchUtil.Watcher> watchers, long intervalMs)
watchers - list of FSWatchUtil.Watcherspublic static void shutdown()
Copyright © 2020 JBoss by Red Hat. All rights reserved.