Interface ReadOperation<T>
- Type Parameters:
T
- type of the value that is read and returned by this read operation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function performing a read operation.
-
Method Summary
Modifier and TypeMethodDescriptionrun
(ReadableTransaction txn) Executes a read operation, and returns the read value.
-
Method Details
-
run
Executes a read operation, and returns the read value.- Parameters:
txn
- the read transaction where to execute the read operation- Returns:
- the read value
- Throws:
Exception
- if a problem occurs with the underlying storage engine
-