public CompletableFuture < OperationResult > executeQuery ( long index , long sequence , long timestamp , RaftSession session , PrimitiveOperation operation ) { CompletableFuture < OperationResult > future = new CompletableFuture <> ( ) ; executeQuery ( index , sequence , timestamp , session , operation , future ) ; return future ; }
Executes the given query on the state machine .