Class MongoChangeStreamCursorDecoratorImpl<T>
java.lang.Object
com.github.cloudyrock.mongock.driver.mongodb.sync.v4.decorator.impl.MongoChangeStreamCursorDecoratorImpl<T>
- All Implemented Interfaces:
ChangockIterator<T>,MongoChangeStreamCursorDecorator<T>,MongoCursorDecorator<T>,com.mongodb.client.MongoChangeStreamCursor<T>,com.mongodb.client.MongoCursor<T>,java.io.Closeable,java.lang.AutoCloseable,java.util.Iterator<T>
public class MongoChangeStreamCursorDecoratorImpl<T> extends java.lang.Object implements MongoChangeStreamCursorDecorator<T>
-
Constructor Summary
Constructors Constructor Description MongoChangeStreamCursorDecoratorImpl(com.mongodb.client.MongoChangeStreamCursor<T> implementation, io.changock.driver.api.lock.guard.invoker.LockGuardInvoker lockerCheckInvoker) -
Method Summary
Modifier and Type Method Description com.mongodb.client.MongoChangeStreamCursor<T>getImpl()io.changock.driver.api.lock.guard.invoker.LockGuardInvokergetInvoker()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.cloudyrock.mongock.driver.mongodb.sync.v4.decorator.ChangockIterator
forEachRemaining, removeMethods inherited from interface com.github.cloudyrock.mongock.driver.mongodb.sync.v4.decorator.MongoChangeStreamCursorDecorator
getResumeTokenMethods inherited from interface com.github.cloudyrock.mongock.driver.mongodb.sync.v4.decorator.MongoCursorDecorator
close, getServerAddress, getServerCursor, hasNext, next, tryNext
-
Constructor Details
-
MongoChangeStreamCursorDecoratorImpl
public MongoChangeStreamCursorDecoratorImpl(com.mongodb.client.MongoChangeStreamCursor<T> implementation, io.changock.driver.api.lock.guard.invoker.LockGuardInvoker lockerCheckInvoker)
-
-
Method Details
-
getImpl
- Specified by:
getImplin interfaceChangockIterator<T>- Specified by:
getImplin interfaceMongoChangeStreamCursorDecorator<T>- Specified by:
getImplin interfaceMongoCursorDecorator<T>
-
getInvoker
public io.changock.driver.api.lock.guard.invoker.LockGuardInvoker getInvoker()- Specified by:
getInvokerin interfaceChangockIterator<T>- Specified by:
getInvokerin interfaceMongoCursorDecorator<T>
-