class RxMonitor extends AnyRef
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).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RxMonitor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RxMonitor(actorSystem: ActorSystem)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
observable: Observable[EventAtPath]
Returns an Observable that will spew out Pathss over time based on what paths are registered and unregistered to this RxMonitor
-
def
registerPath(event: Kind[Path], path: Path, recursive: Boolean = false, persistent: Boolean = false, modifier: Option[Modifier] = None): Unit
Registers a path for monitoring
Registers a path for monitoring
Note that this is an asynchronous operation
-
def
stop(): Unit
Stops any kind of monitoring and signals to the observers of this RxMonitor instance that the Observable is completed.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unregisterPath(event: Kind[Path], path: Path, recursive: Boolean = false): Unit
Unregisters a path from monitoring
Unregisters a path from monitoring
Note that this is an asynchronous operation
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )