this.txnMan.setLogger(logger);
if (configuration.getNumThreads() > 0) {
worker = new LSMDBWorker[configuration.getNumThreads()];
for (int i = 0; i < configuration.getNumThreads(); i++) {
worker[i] = new LSMDBWorker(this, i, configuration.getMaxQueueLength());
worker[i].start();
}
} else {
// number of workers is 0 => requests will be responded directly.
assert (configuration.getNumThreads() == 0);