Class ExecutorAsyncOperations

java.lang.Object
io.micronaut.data.runtime.operations.ExecutorAsyncOperations
All Implemented Interfaces:
AsyncRepositoryOperations
Direct Known Subclasses:
ExecutorAsyncOperationsSupportingCriteria

public class ExecutorAsyncOperations extends Object implements AsyncRepositoryOperations
An implementation of AsyncRepositoryOperations that delegates to a blocking operations and specified Executor. This can be used in absence of true asynchronous support at the driver level.

If a backing implementation provides a async API then the backing implementation should not use this class and instead directly implement the AsyncRepositoryOperations interface.

Since:
1.0.0
Author:
graemerocher