Class RemoteStreamTransport<M>
java.lang.Object
io.camunda.zeebe.scheduler.Actor
io.camunda.zeebe.transport.stream.impl.RemoteStreamTransport<M>
- Type Parameters:
M- type of the stream's metadata
- All Implemented Interfaces:
AsyncClosable,ConcurrencyControl,AutoCloseable,Executor
Server-side actor which takes care of the network communication between the remote stream clients
(e.g. gateways) and servers (e.g. brokers). Sets up handlers for shared topics to receive add,
remove, and remove all requests, and manages sending restart requests to added clients.
-
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
ConstructorsConstructorDescriptionRemoteStreamTransport(ClusterCommunicationService transport, RemoteStreamApiHandler<M> requestHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidvoidrestartStreams(MemberId receiver) Methods inherited from class io.camunda.zeebe.scheduler.Actor
buildActorName, call, close, closeAsync, createContext, getContext, getName, handleFailure, isActorClosed, newActor, onActorClosed, onActorCloseRequested, onActorFailed, onActorStarted, run, runOnCompletion, runOnCompletion, schedule, 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, execute
-
Constructor Details
-
RemoteStreamTransport
public RemoteStreamTransport(ClusterCommunicationService transport, RemoteStreamApiHandler<M> requestHandler)
-
-
Method Details
-
onActorStarting
protected void onActorStarting()- Overrides:
onActorStartingin classActor
-
onActorClosing
protected void onActorClosing()- Overrides:
onActorClosingin classActor
-
removeAll
-
restartStreams
-