mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-368 Optimized Engine replication implementation in ReplicatedChronicleMap
This commit is contained in:
@@ -1016,6 +1016,23 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
}
|
||||
}
|
||||
|
||||
enum GetRemoteSeparateBytesInterops
|
||||
implements GetValueInterops<Bytes, BytesInterop<Bytes>,
|
||||
DelegatingMetaBytesInterop<Bytes, BytesInterop<Bytes>>> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public DelegatingMetaBytesInterop<Bytes, BytesInterop<Bytes>> getMetaValueInterop(
|
||||
@NotNull ThreadLocalCopies copies, BytesInterop<Bytes> valueInterop, Bytes value) {
|
||||
return DelegatingMetaBytesInterop.<Bytes, BytesInterop<Bytes>>instance();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BytesInterop<Bytes> getValueInterop(@NotNull ThreadLocalCopies copies) {
|
||||
return BytesBytesInterop.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public final MVI getMetaValueInterop(
|
||||
@NotNull ThreadLocalCopies copies, VI valueInterop, V value) {
|
||||
|
||||
Reference in New Issue
Block a user