| 2186 | } |
| 2187 | |
| 2188 | StorageBytes KeyValueStoreSQLite::getStorageBytes() const { |
| 2189 | int64_t free; |
| 2190 | int64_t total; |
| 2191 | |
| 2192 | g_network->getDiskBytes(parentDirectory(filename), free, total); |
| 2193 | |
| 2194 | return StorageBytes(free, total, diskBytesUsed, free + _PAGE_SIZE * freeListPages); |
| 2195 | } |
| 2196 | |
| 2197 | void KeyValueStoreSQLite::startReadThreads() { |
| 2198 | int nReadThreads = readCursors.size(); |
no test coverage detected