dcapwell commented on code in PR #17:
URL: https://github.com/apache/cassandra-accord/pull/17#discussion_r1110273510
##########
accord-core/src/main/java/accord/impl/InMemoryCommandStore.java:
##########
@@ -455,25 +456,35 @@ public SynchronizedState(NodeTimeService time, Agent
agent, DataStore store, Pro
}
@Override
- public Future<Void> execute(PreLoadContext context, Consumer<?
super SafeCommandStore> consumer)
+ public AsyncChain<Void> execute(PreLoadContext context, Consumer<?
super SafeCommandStore> consumer)
{
return submit(context, i -> { consumer.accept(i); return null;
});
}
@Override
- public synchronized <T> Future<T> submit(PreLoadContext context,
Function<? super SafeCommandStore, T> function)
+ public synchronized <T> AsyncChain<T> submit(PreLoadContext
context, Function<? super SafeCommandStore, T> function)
Review Comment:
fixed in `immutable-state`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]