2019-01-14 00:38:39 +08:00
|
|
|
import {IIndexingTaskManager} from '../interfaces/IIndexingTaskManager';
|
2019-07-28 04:56:12 +08:00
|
|
|
import {TaskProgressDTO} from '../../../common/entities/settings/TaskProgressDTO';
|
2019-01-14 00:38:39 +08:00
|
|
|
|
|
|
|
export class IndexingTaskManager implements IIndexingTaskManager {
|
|
|
|
|
|
|
|
startIndexing(): void {
|
|
|
|
throw new Error('not supported by memory DB');
|
|
|
|
}
|
|
|
|
|
2019-07-28 04:56:12 +08:00
|
|
|
getProgress(): TaskProgressDTO {
|
2019-01-14 00:38:39 +08:00
|
|
|
throw new Error('not supported by memory DB');
|
|
|
|
}
|
|
|
|
|
|
|
|
cancelIndexing(): void {
|
|
|
|
throw new Error('not supported by memory DB');
|
|
|
|
}
|
|
|
|
|
|
|
|
reset(): Promise<void> {
|
|
|
|
throw new Error('Method not implemented.');
|
|
|
|
}
|
|
|
|
}
|