WatchServiceWatcher

class WatchServiceWatcher(roots: Seq[Path], onEvent: Set[Path] => Unit, logger: (String, Any) => Unit) extends Watcher
class Watcher
trait AutoCloseable
class Object
trait Matchable
class Any

Value members

Concrete methods

def close(): Unit
def processEvent(watchKey: WatchKey): Boolean
def recursiveWatches(): Unit
def run(): Unit
def watchSinglePath(p: Path): Boolean

Concrete fields

val bufferedEvents: Set[Path]
val currentlyWatchedPaths: Map[Path, WatchKey]
val isRunning: AtomicBoolean
val newlyWatchedPaths: Buffer[Path]
val nioWatchService: WatchService