os-lib-watch
os-lib-watch
os.watch
CFAllocatorRef
CFArrayRef
CFIndex
CFIndex
CFRunLoopRef
CFStringRef
CFStringRef
CarbonApi
CarbonApi
FSEventStreamCallback
FSEventStreamRef
FSEventsWatcher
WatchServiceWatcher
Watcher
os-lib-watch
/
os.watch
/
WatchServiceWatcher
WatchServiceWatcher
class
WatchServiceWatcher
(
roots:
Seq
[
Path
],
onEvent:
Set
[
Path
]
=>
Unit
,
logger: (
String
,
Any
)
=>
Unit
)
extends
Watcher
Graph
Supertypes
class
Watcher
trait
AutoCloseable
class
Object
trait
Matchable
class
Any
Value members
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