Package io.pmem.pmemkv
Interface KeyCallback<KeyT>
-
- Type Parameters:
KeyT- the type of a key stored in the pmemkv database
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface KeyCallback<KeyT>
Represents callback function, which handle value-only use cases. Such expression may be passed to get() method in Database class
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(KeyT key)It's internally used as a middle layer to run callback function
-
-
-
Method Detail
-
process
void process(KeyT key)
It's internally used as a middle layer to run callback function- Parameters:
key- the key returned by pmemkv engine to callback function
-
-