use of io.camunda.zeebe.client.impl.response.CreateProcessInstanceResponseImpl in project zeebe by zeebe-io.
the class CreateProcessInstanceCommandImpl method send.
@Override
public ZeebeFuture<ProcessInstanceEvent> send() {
final CreateProcessInstanceRequest request = builder.build();
final RetriableClientFutureImpl<ProcessInstanceEvent, GatewayOuterClass.CreateProcessInstanceResponse> future = new RetriableClientFutureImpl<>(CreateProcessInstanceResponseImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
send(request, future);
return future;
}
use of io.camunda.zeebe.client.impl.response.CreateProcessInstanceResponseImpl in project zeebe by camunda-cloud.
the class CreateProcessInstanceCommandImpl method send.
@Override
public ZeebeFuture<ProcessInstanceEvent> send() {
final CreateProcessInstanceRequest request = builder.build();
final RetriableClientFutureImpl<ProcessInstanceEvent, GatewayOuterClass.CreateProcessInstanceResponse> future = new RetriableClientFutureImpl<>(CreateProcessInstanceResponseImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
send(request, future);
return future;
}
use of io.camunda.zeebe.client.impl.response.CreateProcessInstanceResponseImpl in project zeebe by camunda.
the class CreateProcessInstanceCommandImpl method send.
@Override
public ZeebeFuture<ProcessInstanceEvent> send() {
final CreateProcessInstanceRequest request = builder.build();
final RetriableClientFutureImpl<ProcessInstanceEvent, GatewayOuterClass.CreateProcessInstanceResponse> future = new RetriableClientFutureImpl<>(CreateProcessInstanceResponseImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
send(request, future);
return future;
}
Aggregations