Class PushDeploymentRequestHandler
java.lang.Object
io.camunda.zeebe.broker.system.management.deployment.PushDeploymentRequestHandler
- All Implemented Interfaces:
DeploymentResponder,Function<byte[],CompletableFuture<byte[]>>
public final class PushDeploymentRequestHandler
extends Object
implements Function<byte[],CompletableFuture<byte[]>>, DeploymentResponder
-
Constructor Summary
ConstructorsConstructorDescriptionPushDeploymentRequestHandler(org.agrona.collections.Int2ObjectHashMap<LogStreamRecordWriter> leaderPartitions, ActorControl actor, ClusterEventService eventService) -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<byte[]>apply(byte[] bytes) voidsendDeploymentResponse(long deploymentKey, int partitionId)
-
Constructor Details
-
PushDeploymentRequestHandler
public PushDeploymentRequestHandler(org.agrona.collections.Int2ObjectHashMap<LogStreamRecordWriter> leaderPartitions, ActorControl actor, ClusterEventService eventService)
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<byte[],CompletableFuture<byte[]>>
-
sendDeploymentResponse
public void sendDeploymentResponse(long deploymentKey, int partitionId) - Specified by:
sendDeploymentResponsein interfaceDeploymentResponder
-