Class MemoryBackend

  • All Implemented Interfaces:
    de.bwaldvogel.mongo.AsyncMongoBackend, de.bwaldvogel.mongo.MongoBackend

    public class MemoryBackend
    extends de.bwaldvogel.mongo.backend.AbstractMongoBackend
    • Field Summary

      • Fields inherited from class de.bwaldvogel.mongo.backend.AbstractMongoBackend

        oplog, OPLOG_COLLECTION_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MemoryDatabase openOrCreateDatabase​(java.lang.String databaseName)  
      • Methods inherited from class de.bwaldvogel.mongo.backend.AbstractMongoBackend

        close, createOplog, defaultClock, disableOplog, dropDatabase, enableOplog, getClock, getCurrentOperations, getCursorRegistry, getServerStatus, handleClose, handleCommand, handleCommandAsync, handleDelete, handleDeleteAsync, handleDropDatabase, handleGetMore, handleGetMore, handleGetMore, handleInsert, handleInsertAsync, handleKillCursors, handleKillCursors, handleMessage, handleQuery, handleQueryAsync, handleUpdate, handleUpdateAsync, listDatabaseNames, resolveDatabase, version
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.bwaldvogel.mongo.MongoBackend

        closeAsync, dropDatabaseAsync, handleCloseAsync, handleGetMoreAsync, handleKillCursorsAsync, handleMessageAsync
    • Constructor Detail

      • MemoryBackend

        public MemoryBackend()
      • MemoryBackend

        public MemoryBackend​(java.time.Clock clock)
    • Method Detail

      • openOrCreateDatabase

        public MemoryDatabase openOrCreateDatabase​(java.lang.String databaseName)
        Specified by:
        openOrCreateDatabase in class de.bwaldvogel.mongo.backend.AbstractMongoBackend