Переход на JembaDb

This commit is contained in:
Book Pauk
2021-12-02 18:36:49 +07:00
parent 14ca2daa39
commit 0beaa611f6
8 changed files with 145 additions and 8 deletions

View File

@@ -1,12 +1,12 @@
const BaseController = require('./BaseController');
const ReaderWorker = require('../core/Reader/ReaderWorker');//singleton
const ReaderStorage = require('../core/Reader/ReaderStorage');//singleton
const JembaReaderStorage = require('../core/Reader/JembaReaderStorage');//singleton
const WorkerState = require('../core/WorkerState');//singleton
class ReaderController extends BaseController {
constructor(config) {
super(config);
this.readerStorage = new ReaderStorage();
this.readerStorage = new JembaReaderStorage();
this.readerWorker = new ReaderWorker(config);
this.workerState = new WorkerState();
}