Package fr.gouv.vitam.common.mongo
Class FakeMongoCursor<T>
java.lang.Object
fr.gouv.vitam.common.mongo.FakeMongoCursor<T>
- All Implemented Interfaces:
com.mongodb.client.MongoCursor<T>,Closeable,AutoCloseable,Iterator<T>
-
Constructor Details
-
FakeMongoCursor
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfacecom.mongodb.client.MongoCursor<T>
-
hasNext
public boolean hasNext() -
next
-
tryNext
- Specified by:
tryNextin interfacecom.mongodb.client.MongoCursor<T>
-
getServerCursor
public com.mongodb.ServerCursor getServerCursor()- Specified by:
getServerCursorin interfacecom.mongodb.client.MongoCursor<T>
-
getServerAddress
public com.mongodb.ServerAddress getServerAddress()- Specified by:
getServerAddressin interfacecom.mongodb.client.MongoCursor<T>
-
available
public int available()- Specified by:
availablein interfacecom.mongodb.client.MongoCursor<T>
-