class
MongoOpLog extends Iterator[MongoOpLogEntry] with Logging
Instance Constructors
-
new
MongoOpLog(mongoClient: Imports.MongoClient = ..., startTimestamp: Option[BSONTimestamp] = scala.None, namespace: Option[String] = scala.None, replicaSet: Boolean = true)
Type Members
-
class
GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
++[B >: MongoOpLogEntry](that: ⇒ GenTraversableOnce[B]): Iterator[B]
-
def
/:[B](z: B)(op: (B, MongoOpLogEntry) ⇒ B): B
-
def
:\[B](z: B)(op: (MongoOpLogEntry, B) ⇒ B): B
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
-
def
addString(b: StringBuilder): StringBuilder
-
def
addString(b: StringBuilder, sep: String): StringBuilder
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate[B](z: B)(seqop: (B, MongoOpLogEntry) ⇒ B, combop: (B, B) ⇒ B): B
-
final
def
asInstanceOf[T0]: T0
-
def
buffered: BufferedIterator[MongoOpLogEntry]
-
def
clone(): AnyRef
-
def
close(): Unit
-
def
collect[B](pf: PartialFunction[MongoOpLogEntry, B]): Iterator[B]
-
def
collectFirst[B](pf: PartialFunction[MongoOpLogEntry, B]): Option[B]
-
def
contains(elem: Any): Boolean
-
def
copyToArray[B >: MongoOpLogEntry](xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray[B >: MongoOpLogEntry](xs: Array[B]): Unit
-
def
copyToArray[B >: MongoOpLogEntry](xs: Array[B], start: Int): Unit
-
def
copyToBuffer[B >: MongoOpLogEntry](dest: Buffer[B]): Unit
-
def
corresponds[B](that: GenTraversableOnce[B])(p: (MongoOpLogEntry, B) ⇒ Boolean): Boolean
-
def
count(p: (MongoOpLogEntry) ⇒ Boolean): Int
-
-
-
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
exists(p: (MongoOpLogEntry) ⇒ Boolean): Boolean
-
-
-
def
finalize(): Unit
-
-
def
flatMap[B](f: (MongoOpLogEntry) ⇒ GenTraversableOnce[B]): Iterator[B]
-
def
fold[A1 >: MongoOpLogEntry](z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft[B](z: B)(op: (B, MongoOpLogEntry) ⇒ B): B
-
def
foldRight[B](z: B)(op: (MongoOpLogEntry, B) ⇒ B): B
-
def
forall(p: (MongoOpLogEntry) ⇒ Boolean): Boolean
-
def
foreach[U](f: (MongoOpLogEntry) ⇒ U): Unit
-
final
def
getClass(): Class[_]
-
-
def
hasDefiniteSize: Boolean
-
def
hasNext: Boolean
-
def
hashCode(): Int
-
def
indexOf[B >: MongoOpLogEntry](elem: B): Int
-
def
indexWhere(p: (MongoOpLogEntry) ⇒ Boolean): Int
-
def
isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isTraversableAgain: Boolean
-
def
length: Int
-
-
var
log: Logger
-
def
map[B](f: (MongoOpLogEntry) ⇒ B): Iterator[B]
-
-
-
-
-
def
mkString: String
-
def
mkString(sep: String): String
-
def
mkString(start: String, sep: String, end: String): String
-
final
def
ne(arg0: AnyRef): Boolean
-
def
next(): Product with Serializable with MongoOpLogEntry { val opType: Product with Serializable with com.mongodb.casbah.util.MongoOpType }
-
def
nonEmpty: Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
val
oplogName: String
-
def
padTo[A1 >: MongoOpLogEntry](len: Int, elem: A1): Iterator[A1]
-
-
def
patch[B >: MongoOpLogEntry](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
-
def
product[B >: MongoOpLogEntry](implicit num: Numeric[B]): B
-
val
q: commons.Imports.DBObject
-
def
reduce[A1 >: MongoOpLogEntry](op: (A1, A1) ⇒ A1): A1
-
-
-
def
reduceOption[A1 >: MongoOpLogEntry](op: (A1, A1) ⇒ A1): Option[A1]
-
-
-
-
def
sameElements(that: Iterator[_]): Boolean
-
def
scanLeft[B](z: B)(op: (B, MongoOpLogEntry) ⇒ B): Iterator[B]
-
def
scanRight[B](z: B)(op: (MongoOpLogEntry, B) ⇒ B): Iterator[B]
-
-
def
size: Int
-
def
slice(from: Int, until: Int): Iterator[MongoOpLogEntry]
-
-
-
def
sum[B >: MongoOpLogEntry](implicit num: Numeric[B]): B
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
-
-
def
toArray[B >: MongoOpLogEntry](implicit arg0: ClassTag[B]): Array[B]
-
-
-
-
-
-
def
toMap[T, U](implicit ev: <:<[MongoOpLogEntry, (T, U)]): Map[T, U]
-
-
-
-
def
toString(): String
-
def
toTraversable: Traversable[MongoOpLogEntry]
-
-
val
tsp: BSONTimestamp
-
def
verifyOpLog: BSONTimestamp
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
def
zip[B](that: Iterator[B]): Iterator[(MongoOpLogEntry, B)]
-
def
zipAll[B, A1 >: MongoOpLogEntry, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]
-
def
zipWithIndex: Iterator[(MongoOpLogEntry, Int)]
Deprecated Value Members
-
def
/:\[A1 >: MongoOpLogEntry](z: A1)(op: (A1, A1) ⇒ A1): A1
Inherited from Logging
Inherited from AnyRef
Inherited from Any
For a more detailed understanding of how the MongoDB Oplog works, see Kristina Chodorow's blogpost:
http://www.kchodorow.com/blog/2010/10/12/replication-internals/