Support reporting of unacknowledged/outstanding keys
Add per-map changeCount for change tracking (for use with tracking replication acks)
This commit is contained in:
rogersimmons
2019-10-03 14:52:02 +01:00
parent b05bd4689f
commit f10edcf1c8
2 changed files with 46 additions and 17 deletions
@@ -22,6 +22,7 @@ import net.openhft.chronicle.hash.replication.ReplicableEntry;
import org.jetbrains.annotations.NotNull;
import java.io.Closeable;
import java.util.ArrayList;
/**
* @author Rob Austin.
@@ -189,8 +190,7 @@ public interface Replica extends Closeable {
* match the maps local
* @param chronicleId is the channel id used to identify the canonical map or queue
*/
void writeExternalEntry(ReplicableEntry entry, Bytes payload, @NotNull Bytes destination,
int chronicleId);
void writeExternalEntry(ReplicableEntry entry, Bytes payload, @NotNull Bytes destination, int chronicleId, ArrayList<String> keys );
/**
* The map implements this method to restore its contents. This method must read the values