Class MemoryBackend

java.lang.Object
de.bwaldvogel.mongo.backend.AbstractMongoBackend
de.bwaldvogel.mongo.backend.memory.MemoryBackend
All Implemented Interfaces:
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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class de.bwaldvogel.mongo.backend.AbstractMongoBackend

    close, closeCursors, createOplog, defaultClock, disableOplog, dropDatabase, enableOplog, getClock, getCurrentOperations, getCursorRegistry, getServerStatus, handleClose, handleCommand, handleDropDatabase, handleGetMore, handleKillCursors, handleMessage, handleQuery, listDatabaseNames, resolveDatabase, version

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MemoryBackend

      public MemoryBackend()
    • MemoryBackend

      public MemoryBackend(Clock clock)
  • Method Details

    • openOrCreateDatabase

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