public void runQueryOperation ( Object operation , SimpleCompletableFuture resultFuture ) { long commitIndex = state . commitIndex ( ) ; Object result = raftIntegration . runOperation ( operation , commitIndex ) ; resultFuture . setResult ( result ) ; }
Executes query operation sets execution result to the future .