Interface ValueCallback<ValueT>

Type Parameters:
ValueT - 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 ValueCallback<ValueT>
Represents callback function, which handle value-only use cases. Such expression may be passed to get*() methods in Database class
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(ValueT value)
    It's internally used as a middle layer to run callback function
  • Method Details

    • process

      void process(ValueT value)
      It's internally used as a middle layer to run callback function
      Parameters:
      value - the value returned by pmemkv engine to the callback function