mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Remove pointless interface combinations and Javadoc clean-up
This commit is contained in:
@@ -21,7 +21,7 @@ import net.openhft.chronicle.hash.HashEntry;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* The <i>present</i> {@code ChronicleHash} entry context.
|
||||
* A context of a <i>present</i> entry in the {@code ChronicleHash}.
|
||||
*
|
||||
* @param <K> the map key type
|
||||
* @param <V> the map value type
|
||||
|
||||
@@ -21,7 +21,7 @@ import net.openhft.chronicle.map.replication.MapRemoteOperations;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* The context of {@link ChronicleMap} operations with <i>individual keys</i>
|
||||
* A context of {@link ChronicleMap} operations with <i>individual keys</i>
|
||||
* (like during {@code get()}, {@code put()}, etc., opposed to <i>bulk</i> operations).
|
||||
* This is the main context type of {@link MapMethods} and {@link MapRemoteOperations}.
|
||||
*
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package net.openhft.chronicle.map.replication;
|
||||
|
||||
import net.openhft.chronicle.hash.Data;
|
||||
import net.openhft.chronicle.hash.replication.HashRemoteQueryContext;
|
||||
import net.openhft.chronicle.hash.replication.RemoteOperationContext;
|
||||
import net.openhft.chronicle.hash.serialization.SizeMarshaller;
|
||||
import net.openhft.chronicle.map.ChronicleMap;
|
||||
import net.openhft.chronicle.map.ChronicleMapBuilder;
|
||||
@@ -34,7 +34,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
* @see MapRemoteOperations
|
||||
*/
|
||||
public interface MapRemoteQueryContext<K, V, R> extends MapQueryContext<K, V, R>,
|
||||
HashRemoteQueryContext<K> {
|
||||
RemoteOperationContext<K> {
|
||||
@Nullable
|
||||
@Override
|
||||
MapReplicableEntry<K, V> entry();
|
||||
|
||||
@@ -16,8 +16,17 @@
|
||||
|
||||
package net.openhft.chronicle.map.replication;
|
||||
|
||||
import net.openhft.chronicle.hash.replication.HashReplicableEntry;
|
||||
import net.openhft.chronicle.hash.replication.ReplicableEntry;
|
||||
import net.openhft.chronicle.map.ChronicleMap;
|
||||
import net.openhft.chronicle.map.MapEntry;
|
||||
|
||||
public interface MapReplicableEntry<K, V> extends MapEntry<K, V>, HashReplicableEntry<K> {
|
||||
/**
|
||||
* A context of a <i>present</i> entry in the replicated {@link ChronicleMap}.
|
||||
*
|
||||
* @param <K> the map key type
|
||||
* @param <V> the map value type
|
||||
* @see MapRemoteOperations
|
||||
* @see MapRemoteQueryContext
|
||||
*/
|
||||
public interface MapReplicableEntry<K, V> extends MapEntry<K, V>, ReplicableEntry {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user