AsyncMongoDBStorage
data class AsyncMongoDBStorage<T>(val mongoDBConnection: MongoDBConnection, val databaseName: String, val collectionName: String, val serializer: Serializer<T, String>) : AsyncStorage<String, T, String>
AsyncStorage implementation via file + text strings.
This method was based from roby2014 - uni-projects/TDS
Parameters
T
Type of the domain entity
mongoDBConnection
MongoDB connection information
databaseName
Name of the MongoDB database
collectionName
Name of the MongoDB collection
Constructors
Link copied to clipboard
constructor(mongoDBConnection: MongoDBConnection, databaseName: String, collectionName: String, serializer: Serializer<T, String>)