Package com.terracottatech.store.async
package com.terracottatech.store.async
Contains types for performing asynchronous operations on datasets.
Asynchronous operations can be performed on a Dataset
by accessing an
AsyncDatasetReader
or
AsyncDatasetWriterReader
via an existing synchronous equivalent. Via these
asynchronous classes you can execute asynchronous CRUD operations and access a complete asynchronous equivalent of
the JDK Streams API. Asynchronous executions are represented through the returned
Operation
instances. Operation
extends both
Future
and CompletionStage
, and so allows both interfacing
with synchronous code, and the building of more complicated composite operations.
-
InterfacesClassDescriptionAsyncConditionalReadRecordAccessor<K extends Comparable<K>>An asynchronous equivalent to
ConditionalReadRecordAccessor
.AsyncConditionalReadWriteRecordAccessor<K extends Comparable<K>>An asynchronous equivalent toConditionalReadWriteRecordAccessor
.AsyncDatasetReader<K extends Comparable<K>>An asynchronous equivalent toDatasetReader
.AsyncDatasetWriterReader<K extends Comparable<K>>An asynchronous equivalent toDatasetWriterReader
.An asynchronous equivalent toDoubleStream
.An asynchronous equivalent toIntStream
.An asynchronous equivalent toLongStream
.AsyncMutableRecordStream<K extends Comparable<K>>Asynchronous equivalent toMutableRecordStream
.AsyncReadRecordAccessor<K extends Comparable<K>>An asynchronous equivalent toReadRecordAccessor
.AsyncReadWriteRecordAccessor<K extends Comparable<K>>An asynchronous equivalent toReadWriteRecordAccessor
.AsyncRecordStream<K extends Comparable<K>>Asynchronous equivalent toRecordStream
.AsyncStream<T>An asynchronous equivalent toStream
.Operation<T>A representation of the asynchronous execution of an operation.