class CollectionMonitor[T <: ModelObject] extends Reaction[Operation]
- Alphabetic
- By Inheritance
- CollectionMonitor
- Reaction
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CollectionMonitor(collection: DBCollection[T])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: Reaction[Operation]): Boolean
- Definition Classes
- Ordered
-
def
<=(that: Reaction[Operation]): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: Reaction[Operation]): Boolean
- Definition Classes
- Ordered
-
def
>=(that: Reaction[Operation]): Boolean
- Definition Classes
- Ordered
-
def
apply(op: Operation, previous: Option[Operation]): ReactionStatus
- Definition Classes
- CollectionMonitor → Reaction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
compare(that: Reaction[Operation]): Int
- Definition Classes
- Reaction → Ordered
-
def
compareTo(that: Reaction[Operation]): Int
- Definition Classes
- Ordered → Comparable
-
lazy val
delete: Channel[Delete]
Only receives OpType.Delete _ids
-
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()
-
lazy val
insert: Channel[T]
Only receives OpType.Insert records
-
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()
-
lazy val
operation: Channel[Operation]
Receives all operations for this collection
-
def
priority: Double
- Definition Classes
- Reaction
-
def
start(): Unit
Starts the oplog monitor on the database if it's not already running and begins monitoring for operations relating to this collection.
Starts the oplog monitor on the database if it's not already running and begins monitoring for operations relating to this collection. This must be called before any operations can be received by #insert, #update, or #delete.
-
def
stop(): Unit
Stops monitoring the oplog for operations related to this collection.
Stops monitoring the oplog for operations related to this collection. Does not stop the oplog from running.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
lazy val
update: Channel[T]
Only receives OpType.Update records
Only receives OpType.Update records
Note: this will not receive incomplete replacements. For example, $set calls will be ignored as they apply to multiple documents as well as not having a complete view of the object
-
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( ... )