Package com.terracottatech.store.async
Interface AsyncConditionalReadRecordAccessor<K extends Comparable<K>>
- All Known Subinterfaces:
AsyncConditionalReadWriteRecordAccessor<K>
public interface AsyncConditionalReadRecordAccessor<K extends Comparable<K>>
An asynchronous equivalent to
ConditionalReadRecordAccessor
.-
Method Summary
-
Method Details
-
read
An asynchronous equivalent toConditionalReadRecordAccessor.read(Function)
.An exception thrown from
mapper
is propagated to the caller of theread
method.- Type Parameters:
T
- the type returned by the function defined in the mapper parameter.- Parameters:
mapper
- the function to apply to the record.- Returns:
- an Operation representing the read.
-
read
An asynchronous equivalent toConditionalReadRecordAccessor.read()
.- Returns:
- an Operation representing the read.
-