public async storePerformanceStatistics (performanceStatistics: Statistics): Promise<void> {
try {
+ this.setPerformanceStatistics(performanceStatistics)
this.checkDBConnection()
await this.client
?.db(this.dbName)
}
public async close (): Promise<void> {
+ this.clearPerformanceStatistics()
try {
if (this.connected && this.client != null) {
await this.client.close()