mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Dirty outdated entries on reconnect without affecting critical activities, closes https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/49
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
package net.openhft.chronicle.map;
|
||||
|
||||
import net.openhft.chronicle.bytes.Bytes;
|
||||
import net.openhft.chronicle.core.threads.EventLoop;
|
||||
import net.openhft.chronicle.hash.Data;
|
||||
import net.openhft.chronicle.hash.replication.ReplicableEntry;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -137,8 +138,9 @@ public interface Replica extends Closeable {
|
||||
* entries to a new remote node as it connects.
|
||||
*
|
||||
* @param fromTimeStamp the timestamp from which all entries should be dirty
|
||||
* @param eventLoop event loop in which dirtying to be executed
|
||||
*/
|
||||
void dirtyEntries(long fromTimeStamp);
|
||||
void dirtyEntries(long fromTimeStamp, @NotNull EventLoop eventLoop);
|
||||
|
||||
/**
|
||||
* the {@code modificationNotifier} is called when ever there is a change applied to the
|
||||
|
||||
Reference in New Issue
Block a user