mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Added support for dynamic discovery of files, https://github.com/OpenHFT/Chronicle-Core/issues/88
This commit is contained in:
@@ -25,6 +25,7 @@ import net.openhft.chronicle.set.ChronicleSet;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.Consumer;
|
||||
@@ -96,6 +97,11 @@ public interface ChronicleHash<K, E extends HashEntry<K>, SC extends HashSegment
|
||||
*/
|
||||
Class<K> keyClass();
|
||||
|
||||
/**
|
||||
* @return Type as a Class or UnresolvedType if unknown.
|
||||
*/
|
||||
Type keyType();
|
||||
|
||||
/**
|
||||
* Returns a context to perform arbitrary operations with the given key in this store.
|
||||
* Conventionally, should be used in a try-with-resources block: <pre>{@code
|
||||
|
||||
Reference in New Issue
Block a user