Interface RemoteStreamService<M,P extends BufferWriter>
- Type Parameters:
M- associated metadata with a streamP- the payload type that can be pushed to the streams
- All Superinterfaces:
ClusterMembershipEventListener,EventFilter<ClusterMembershipEvent>,EventListener<ClusterMembershipEvent>
- All Known Implementing Classes:
RemoteStreamServiceImpl
public interface RemoteStreamService<M,P extends BufferWriter>
extends ClusterMembershipEventListener
A remote stream service that manages streams from the Gateways.
-
Method Summary
Modifier and TypeMethodDescriptioncloseAsync(ConcurrencyControl concurrencyControl) start(ActorSchedulingService actorSchedulingService, ConcurrencyControl concurrencyControl) streams()Returns all registered remote streams.Methods inherited from interface io.atomix.utils.event.EventFilter
isRelevantMethods inherited from interface io.atomix.utils.event.EventListener
event
-
Method Details
-
start
ActorFuture<RemoteStreamer<M,P>> start(ActorSchedulingService actorSchedulingService, ConcurrencyControl concurrencyControl) -
closeAsync
-
streams
Collection<RemoteStreamInfo<M>> streams()Returns all registered remote streams.
-