use of io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest in project zeebe by zeebe-io.
the class TopologyRequestImpl method send.
@Override
public ZeebeFuture<Topology> send() {
final TopologyRequest request = TopologyRequest.getDefaultInstance();
final RetriableClientFutureImpl<Topology, TopologyResponse> future = new RetriableClientFutureImpl<>(TopologyImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
send(request, future);
return future;
}
use of io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest in project zeebe by camunda-cloud.
the class TopologyRequestImpl method send.
@Override
public ZeebeFuture<Topology> send() {
final TopologyRequest request = TopologyRequest.getDefaultInstance();
final RetriableClientFutureImpl<Topology, TopologyResponse> future = new RetriableClientFutureImpl<>(TopologyImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
send(request, future);
return future;
}
use of io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest in project zeebe by camunda.
the class TopologyRequestImpl method send.
@Override
public ZeebeFuture<Topology> send() {
final TopologyRequest request = TopologyRequest.getDefaultInstance();
final RetriableClientFutureImpl<Topology, TopologyResponse> future = new RetriableClientFutureImpl<>(TopologyImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
send(request, future);
return future;
}
Aggregations