Packages

c

com.outr.giantscala.oplog

CollectionMonitor

class CollectionMonitor[T <: ModelObject] extends Reaction[Operation]

Linear Supertypes
Reaction[Operation], Ordered[Reaction[Operation]], Comparable[Reaction[Operation]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CollectionMonitor
  2. Reaction
  3. Ordered
  4. Comparable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CollectionMonitor(collection: DBCollection[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: Reaction[Operation]): Boolean
    Definition Classes
    Ordered
  4. def <=(that: Reaction[Operation]): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: Reaction[Operation]): Boolean
    Definition Classes
    Ordered
  7. def >=(that: Reaction[Operation]): Boolean
    Definition Classes
    Ordered
  8. def apply(op: Operation, previous: Option[Operation]): ReactionStatus
    Definition Classes
    CollectionMonitor → Reaction
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def compare(that: Reaction[Operation]): Int
    Definition Classes
    Reaction → Ordered
  12. def compareTo(that: Reaction[Operation]): Int
    Definition Classes
    Ordered → Comparable
  13. lazy val delete: Channel[Delete]

    Only receives OpType.Delete _ids

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. lazy val insert: Channel[T]

    Only receives OpType.Insert records

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. lazy val operation: Channel[Operation]

    Receives all operations for this collection

  25. def priority: Double
    Definition Classes
    Reaction
  26. 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.

  27. 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.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. 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

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Reaction[Operation]

Inherited from Ordered[Reaction[Operation]]

Inherited from Comparable[Reaction[Operation]]

Inherited from AnyRef

Inherited from Any

Ungrouped