mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fixed several replication bugs; Value -> Data; extracted ReplicableEntry as a superclass of HashReplicableEntry
This commit is contained in:
+2
-3
@@ -19,15 +19,14 @@
|
||||
package net.openhft.chronicle.hash.impl;
|
||||
|
||||
import net.openhft.chronicle.bytes.ReadAccess;
|
||||
import net.openhft.chronicle.hash.AbstractValue;
|
||||
import net.openhft.chronicle.hash.Value;
|
||||
import net.openhft.chronicle.hash.AbstractData;
|
||||
import net.openhft.lang.io.DirectBytes;
|
||||
import net.openhft.lang.io.DirectStore;
|
||||
import net.openhft.lang.io.serialization.JDKObjectSerializer;
|
||||
|
||||
import static net.openhft.chronicle.hash.impl.JavaLangBytesAccessors.uncheckedBytesAccessor;
|
||||
|
||||
public abstract class CopyingInstanceValue<I, T> extends AbstractValue<I, T> {
|
||||
public abstract class CopyingInstanceData<I, T> extends AbstractData<I, T> {
|
||||
|
||||
public static DirectBytes getBuffer(DirectBytes b, long capacity) {
|
||||
if (b != null) {
|
||||
@@ -0,0 +1,8 @@
|
||||
package net.openhft.chronicle.hash.impl.value.instance;
|
||||
|
||||
import net.openhft.chronicle.hash.Data;
|
||||
|
||||
public interface KeyInitableData<K, T> extends Data<K, T> {
|
||||
|
||||
void initKey(K key);
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
package net.openhft.chronicle.hash.impl.value.instance;
|
||||
|
||||
import net.openhft.chronicle.hash.Value;
|
||||
|
||||
public interface KeyInitableValue<K, T> extends Value<K, T> {
|
||||
|
||||
void initKey(K key);
|
||||
}
|
||||
Reference in New Issue
Block a user