EventIndex: Add a method to get the current disk usage of the index.

This commit is contained in:
Damir Jelić
2020-01-17 14:20:54 +01:00
parent 491cef4f92
commit f324f676d3
2 changed files with 12 additions and 0 deletions
+7
View File
@@ -117,6 +117,13 @@ export default class BaseEventIndexManager {
throw new Error("Unimplemented");
}
/**
* Get the disk usage of the index
*/
async indexSize(): Promise<number> {
throw new Error("Unimplemented");
}
/**
* Commit the previously queued up events to the index.
*