mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Add ChronicleHash.offHeapMemoryUsed() method; Centralized management of all direct memory and file resources of ChronicleMap in one Cleaner
This commit is contained in:
@@ -150,8 +150,8 @@ public class VanillaChronicleMap<K, V, R>
|
||||
initOwnTransients();
|
||||
}
|
||||
|
||||
public void recover() throws IOException {
|
||||
basicRecover();
|
||||
public void recover(ChronicleHashResourceReleaser resourceReleaser) throws IOException {
|
||||
basicRecover(resourceReleaser);
|
||||
try (IterationContext<K, V, ?> iterationContext = iterationContext()) {
|
||||
iterationContext.recoverSegments();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user