public class CancelWorkflowInstanceCommandImpl extends Object implements CancelWorkflowInstanceCommandStep1
Constructor and Description |
---|
CancelWorkflowInstanceCommandImpl(GatewayGrpc.GatewayStub asyncStub,
long workflowInstanceKey) |
Modifier and Type | Method and Description |
---|---|
ZeebeFuture<Void> |
send()
Sends the command to the Zeebe broker.
|
public CancelWorkflowInstanceCommandImpl(GatewayGrpc.GatewayStub asyncStub, long workflowInstanceKey)
public ZeebeFuture<Void> send()
FinalCommandStep
Call ZeebeFuture.join()
to wait until the response is available.
Future<JobEvent> future = command.send(); JobEvent event = future.join();
send
in interface FinalCommandStep<Void>
Copyright © 2017–2018 camunda services GmbH. All rights reserved.