MongoDbPersistence constructor

MongoDbPersistence([String collection ])

Creates a new instance of the persistence component.

  • collection (optional) a collection name.