changed to MapClosable

This commit is contained in:
Rob Austin
2020-05-29 18:22:13 +01:00
parent e129a208f2
commit b51207186a
2 changed files with 6 additions and 9 deletions
@@ -16,7 +16,6 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.core.io.DefaultCloseable;
import net.openhft.chronicle.hash.ChronicleHashBuilderPrivateAPI;
import net.openhft.chronicle.hash.ReplicatedHashSegmentContext;
import net.openhft.chronicle.hash.replication.ReplicableEntry;
@@ -34,7 +33,7 @@ import static net.openhft.chronicle.hash.replication.TimeProvider.currentTime;
import static net.openhft.chronicle.hash.replication.TimeProvider.systemTimeIntervalBetween;
class OldDeletedEntriesCleanupThread extends Thread
implements DefaultCloseable, Predicate<ReplicableEntry> {
implements MapClosable, Predicate<ReplicableEntry> {
private static final Logger LOG = LoggerFactory.getLogger(OldDeletedEntriesCleanupThread.class);
/**