Trait to make a message definition "Bossy", meaning it will remove all other callbacks for a specific path and event type
Message case class for telling a MonitorActor that an event has happened and at what path
Message case class for telling a MonitorActor that an event has happened and at what path
WatchEvent.Kind[Path], one of ENTRY_CREATE, ENTRY_MODIFY, ENTRY_DELETE
Path (Java object) pointing to a file/directory
Abstract class to make it easy to define a registration that forwards EvenAtPath messages to a particular ActorRef
Message case class for telling a CallbackActor to perform a callback
Message case class for telling a CallbackActor to perform a callback
Path (Java object) pointing to a file/directory
(Path) => Unit type function
Message case class for telling a MonitorActor that the callback contained will be the ONLY callback registered for the specific path.
Message case class for telling a MonitorActor that the callback contained will be the ONLY callback registered for the specific path.
Mostly intended to be used with RxMonitor; hence the terrible name.
WatchEvent.Kind[Path], one of ENTRY_CREATE, ENTRY_MODIFY, ENTRY_DELETE
Path (Java object) pointing to a file/directory
(Path) => Unit type function
Optional Modifier that qualifies how a Watchable is registered with a WatchService.
Boolean to specify to recursively register the callback or not, defaults to false
Boolean To automatically add the same callback to new files or not, defaults to false
Message case class for registering an ActorRef to receive EventAtPath messages when something happens at a path.
Message case class for registering an ActorRef to receive EventAtPath messages when something happens at a path.
This is different from RegisterSubscriber in that when something happens at the provided path, the only thing that will happen is the ActorRef you provided will get notified.
WatchEvent.Kind[Path], one of ENTRY_CREATE, ENTRY_MODIFY, ENTRY_DELETE
Path (Java object) pointing to a file/directory
ActorRef that you want to receive notifications on
Optional Modifier that qualifies how a Watchable is registered with a WatchService.
Boolean To recursively register the callback or not, defaults to false
Boolean To automatically add the same callback to new files or not, defaults to false
Message case class for telling a MonitorActor to register a path for callback
Message case class for telling a MonitorActor to register a path for callback
WatchEvent.Kind[Path], one of ENTRY_CREATE, ENTRY_MODIFY, ENTRY_DELETE
Path (Java object) pointing to a file/directory
(Path) => Unit type function
Boolean To recursively register the callback or not, defaults to false
Boolean To automatically add the same callback to new files or not, defaults to false
Base trait for registering callbacks
Message case class for registering an ActorRef to receive EventAtPath messages when something happens at a path
Message case class for registering an ActorRef to receive EventAtPath messages when something happens at a path
WatchEvent.Kind[Path], one of ENTRY_CREATE, ENTRY_MODIFY, ENTRY_DELETE
Path (Java object) pointing to a file/directory
ActorRef that you want to receive notifications on
Optional Modifier that qualifies how a Watchable is registered with a WatchService.
Boolean To recursively register the callback or not, defaults to false
Boolean To automatically add the same callback to new files or not, defaults to false
Message case class for telling a MonitorActor to un-register a path for callback
Message case class for telling a MonitorActor to un-register a path for callback
Note that this does not remove the event listeners from the Java API, because such functionality does not exist. All this does is make sure that the callbacks registered to a specific path do not get fired. Depending on your use case, it may make more sense to just kill the monitor actor to start fresh.
WatchEvent.Kind[Path], one of ENTRY_CREATE, ENTRY_MODIFY, ENTRY_DELETE
Path (Java object) pointing to a file/directory
Boolean to specify to recursively register the callback or not, defaults to false