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
Constructors Constructor Description PushDeploymentRequestHandler(org.agrona.collections.Int2ObjectHashMap<LogStreamRecordWriter> leaderPartitions, ActorControl actor, Atomix atomix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<byte[]>apply(byte[] bytes)voidsendDeploymentResponse(long deploymentKey, int partitionId)
-
-
-
Constructor Detail
-
PushDeploymentRequestHandler
public PushDeploymentRequestHandler(org.agrona.collections.Int2ObjectHashMap<LogStreamRecordWriter> leaderPartitions, ActorControl actor, Atomix atomix)
-
-
Method Detail
-
apply
public CompletableFuture<byte[]> apply(byte[] bytes)
- Specified by:
applyin interfaceFunction<byte[],CompletableFuture<byte[]>>
-
sendDeploymentResponse
public void sendDeploymentResponse(long deploymentKey, int partitionId)- Specified by:
sendDeploymentResponsein interfaceDeploymentResponder
-
-