use of org.apache.ratis.protocol.ReinitializeRequest in project incubator-ratis by apache.
the class AdminProtocolService method reinitialize.
@Override
public void reinitialize(ReinitializeRequestProto proto, StreamObserver<RaftClientReplyProto> responseObserver) {
final ReinitializeRequest request = ClientProtoUtils.toReinitializeRequest(proto);
RaftGrpcUtil.asyncCall(responseObserver, () -> protocol.reinitializeAsync(request), ClientProtoUtils::toRaftClientReplyProto);
}
Aggregations