Class

com.outr.giantscala.oplog

CollectionMonitor

Related Doc: package oplog

Permalink

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])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <(that: Reaction[Operation]): Boolean

    Permalink
    Definition Classes
    Ordered
  4. def <=(that: Reaction[Operation]): Boolean

    Permalink
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: Reaction[Operation]): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: Reaction[Operation]): Boolean

    Permalink
    Definition Classes
    Ordered
  8. def apply(op: Operation, previous: Option[Operation]): ReactionStatus

    Permalink
    Definition Classes
    CollectionMonitor → Reaction
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compare(that: Reaction[Operation]): Int

    Permalink
    Definition Classes
    Reaction → Ordered
  12. def compareTo(that: Reaction[Operation]): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  13. lazy val delete: Channel[Delete]

    Permalink

    Only receives OpType.Delete _ids

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. lazy val insert: Channel[T]

    Permalink

    Only receives OpType.Insert records

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. lazy val operation: Channel[Operation]

    Permalink

    Receives all operations for this collection

  25. def priority: Double

    Permalink
    Definition Classes
    Reaction
  26. def start(): Unit

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. lazy val update: Channel[T]

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Reaction[Operation]

Inherited from Ordered[Reaction[Operation]]

Inherited from Comparable[Reaction[Operation]]

Inherited from AnyRef

Inherited from Any

Ungrouped