mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Made listeners almost work for replication
This commit is contained in:
@@ -32,13 +32,14 @@ abstract class Replicator {
|
||||
* associated with the replication. <p>This method isn't intended to be called from the client
|
||||
* code.
|
||||
*
|
||||
* @param chronicleMap to wrap.
|
||||
* @param builder the builder from which the map was constructed. The replicator may
|
||||
* obtain some map configurations, not accessible via the map
|
||||
* instance.
|
||||
* @param map a replicated map instance. Provides basic tools for replication
|
||||
* implementation.
|
||||
* @param entryExternalizable the callback for ser/deser implementation in the replicator
|
||||
* @param chronicleMap to wrap.
|
||||
* @param replicatedMap
|
||||
* @return a {@code Closeable} token to control replication resources. It should be closed on
|
||||
* closing the replicated map.
|
||||
* @throws java.io.IOException if an io error occurred during the replicator setup
|
||||
@@ -49,5 +50,5 @@ abstract class Replicator {
|
||||
*/
|
||||
protected abstract Closeable applyTo(ChronicleMapBuilder builder,
|
||||
Replica map, Replica.EntryExternalizable entryExternalizable,
|
||||
final ChronicleMap chronicleMap) throws IOException;
|
||||
final ReplicatedChronicleMap replicatedMap) throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user