Class InterPartitionCommandSenderService
java.lang.Object
io.camunda.zeebe.scheduler.Actor
io.camunda.zeebe.broker.transport.partitionapi.InterPartitionCommandSenderService
- All Implemented Interfaces:
CheckpointListener,TopologyPartitionListener,AsyncClosable,ConcurrencyControl,InterPartitionCommandSender,AutoCloseable
public final class InterPartitionCommandSenderService
extends Actor
implements InterPartitionCommandSender, CheckpointListener, TopologyPartitionListener
-
Nested Class Summary
Nested classes/interfaces inherited from class io.camunda.zeebe.scheduler.Actor
Actor.ActorBuilder -
Field Summary
Fields inherited from class io.camunda.zeebe.scheduler.Actor
actor, ACTOR_PROP_NAME, ACTOR_PROP_PARTITION_ID -
Constructor Summary
ConstructorsConstructorDescriptionInterPartitionCommandSenderService(ClusterCommunicationService communicationService, int partitionId) -
Method Summary
Modifier and TypeMethodDescriptionvoidonNewCheckpointCreated(long checkpointId) voidonPartitionLeaderUpdated(int partitionId, BrokerInfo member) voidsendCommand(int receiverPartitionId, ValueType valueType, Intent intent, UnifiedRecordValue command) voidsendCommand(int receiverPartitionId, ValueType valueType, Intent intent, Long recordKey, UnifiedRecordValue command) Methods inherited from class io.camunda.zeebe.scheduler.Actor
buildActorName, close, closeAsync, createContext, getContext, getName, handleFailure, isActorClosed, newActor, onActorClosed, onActorCloseRequested, onActorClosing, onActorFailed, onActorStarted, onActorStarting, run, runOnCompletion, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.scheduler.ConcurrencyControl
createCompletedFuture, createFuture
-
Constructor Details
-
InterPartitionCommandSenderService
public InterPartitionCommandSenderService(ClusterCommunicationService communicationService, int partitionId)
-
-
Method Details
-
onNewCheckpointCreated
public void onNewCheckpointCreated(long checkpointId) - Specified by:
onNewCheckpointCreatedin interfaceCheckpointListener
-
sendCommand
public void sendCommand(int receiverPartitionId, ValueType valueType, Intent intent, UnifiedRecordValue command) - Specified by:
sendCommandin interfaceInterPartitionCommandSender
-
sendCommand
public void sendCommand(int receiverPartitionId, ValueType valueType, Intent intent, Long recordKey, UnifiedRecordValue command) - Specified by:
sendCommandin interfaceInterPartitionCommandSender
-
onPartitionLeaderUpdated
- Specified by:
onPartitionLeaderUpdatedin interfaceTopologyPartitionListener
-