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
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
Boolean to specify to recursively register the callback or not, defaults to false
Path (Java object) pointing to a file/directory
(Path) => Unit type function
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
Boolean to specify to recursively register the callback or not, defaults to false
Path (Java object) pointing to a file/directory
(Path) => Unit type function
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
Boolean to specify to recursively register the callback or not, defaults to false
Path (Java object) pointing to a file/directory