mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
SPI implementation
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package net.openhft.chronicle.hash;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface HashAbsentEntry<K> {
|
||||
|
||||
/**
|
||||
* Returns the context, in which the entry is going to be inserted into the hash.
|
||||
*/
|
||||
HashContext<K> context();
|
||||
|
||||
/**
|
||||
* Returns the key is going to be inserted into the {@code ChronicleHash}.
|
||||
*/
|
||||
@NotNull
|
||||
Value<K, ?> absentKey();
|
||||
}
|
||||
Reference in New Issue
Block a user