Class CursorRegistry

java.lang.Object
de.bwaldvogel.mongo.backend.CursorRegistry

public class CursorRegistry
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    CursorRegistry()  
  • Method Summary

    Modifier and Type Method Description
    void add​(Cursor cursor)  
    long generateCursorId()  
    Cursor getCursor​(long cursorId)  
    boolean remove​(long cursorId)  
    boolean remove​(Cursor cursor)  
    int size()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait