Actor that performs Callbacks
Immutable class for holding the callbacks for a given path
Immutable class for holding the callbacks for a given path
Should be instantiated via companion object above
Actor for registering callbacks and delegating callback execution
Actor for registering callbacks and delegating callback execution
Should be instantiated with Props provided via companion object factory method
Trait for allowing a block of code to be run recursively given a directory path
RxScala-based class that exposes the Observable interface for file monitoring
RxScala-based class that exposes the Observable interface for file monitoring
Actually powered by an Actor underneath the covers because we do need to keep state (in particular the CallbackRegistry).
WatchService class that implements a Run method for passing into a thread
WatchService class that implements a Run method for passing into a thread
Largely inspired by http://www.javacodegeeks.com/2013/04/watchservice-combined-with-akka-actors.html Takes care of registering paths to be monitored as well as logic that takes care of properly shutting down and monitoring the watcher thread
Companion object for CallbackActor to allow easy creation of props via apply method
Factory object for creating a CallbackRegistry based on a passed in FileEvent
Companion object for creating Monitor actor instances
Companion object for instantiating a RxMonitor instance
Companion object for factory method
Actor that performs Callbacks
This allows us to rather easily control concurrency in the parent MonitorActor by simply spawning a certain number of actors in the routing pool.
Should be created via companion method's props