Package de.bwaldvogel.mongo.oplog
Class NoopOplog
java.lang.Object
de.bwaldvogel.mongo.oplog.NoopOplog
- All Implemented Interfaces:
Oplog
public final class NoopOplog extends java.lang.Object implements Oplog
-
Method Summary
Modifier and Type Method Description CursorcreateCursor(Document changeStreamDocument, java.lang.String namespace, Aggregation aggregation)static NoopOplogget()voidhandleDelete(java.lang.String namespace, Document query, java.util.List<java.lang.Object> deletedIds)voidhandleDropCollection(java.lang.String namespace)voidhandleInsert(java.lang.String namespace, java.util.List<Document> documents)voidhandleUpdate(java.lang.String namespace, Document selector, Document query, java.util.List<java.lang.Object> ids)
-
Method Details
-
get
-
handleInsert
- Specified by:
handleInsertin interfaceOplog
-
handleUpdate
public void handleUpdate(java.lang.String namespace, Document selector, Document query, java.util.List<java.lang.Object> ids)- Specified by:
handleUpdatein interfaceOplog
-
handleDelete
public void handleDelete(java.lang.String namespace, Document query, java.util.List<java.lang.Object> deletedIds)- Specified by:
handleDeletein interfaceOplog
-
handleDropCollection
public void handleDropCollection(java.lang.String namespace)- Specified by:
handleDropCollectionin interfaceOplog
-
createCursor
public Cursor createCursor(Document changeStreamDocument, java.lang.String namespace, Aggregation aggregation)- Specified by:
createCursorin interfaceOplog
-