- return MappingCheckedFuture.create(readDelegate().read(convert(store), path),
- ReadFailedExceptionAdapter.INSTANCE);
+ return MappingCheckedFuture.create(readDelegate().read(convert(store), path).transformAsync(
+ optional -> Futures.immediateFuture(Optional.fromJavaUtil(optional)), MoreExecutors.directExecutor()),
+ ReadFailedExceptionAdapter.INSTANCE);