os-lib-watch
os-lib-watch
API
os.watch
CFAllocatorRef
CFArrayRef
CFIndex
CFIndex
CFRunLoopRef
CFStringRef
CFStringRef
CarbonApi
CarbonApi
FSEventStreamCallback
FSEventStreamRef
FSEventsWatcher
WatchServiceWatcher
Watcher
os-lib-watch
/
os.watch
/
WatchServiceWatcher
WatchServiceWatcher
os.watch.WatchServiceWatcher
class
WatchServiceWatcher
(
roots
:
Seq
[
Path
],
onEvent
:
Set
[
Path
]
=>
Unit
,
logger
: (
String
,
Any
)
=>
Unit
)
extends
Watcher
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Watcher
trait
AutoCloseable
class
Object
trait
Matchable
class
Any
Members list
Clear all
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
In this article
Attributes
Members list
Value members
Concrete methods
Concrete fields