Uses of Interface
io.atomix.cluster.messaging.Subscription
Packages that use Subscription
Package
Description
Provides high-level interfaces for direct and publish-subscribe inter-cluster communication.
Messaging layer interface implementations.
-
Uses of Subscription in io.atomix.cluster.messaging
Methods in io.atomix.cluster.messaging that return types with arguments of type SubscriptionModifier and TypeMethodDescriptionClusterEventService.getSubscriptions(String topic) Returns a list of subscriptions for the given topic.default <M> CompletableFuture<Subscription>Adds a new subscriber for the specified message topic.ClusterEventService.subscribe(String topic, Function<byte[], M> decoder, Consumer<M> handler, Executor executor) Adds a new subscriber for the specified message topic.<M,R> CompletableFuture<Subscription> ClusterEventService.subscribe(String topic, Function<byte[], M> decoder, Function<M, CompletableFuture<R>> handler, Function<R, byte[]> encoder) Adds a new subscriber for the specified message topic.<M,R> CompletableFuture<Subscription> ClusterEventService.subscribe(String topic, Function<byte[], M> decoder, Function<M, R> handler, Function<R, byte[]> encoder, Executor executor) Adds a new subscriber for the specified message topic.default <M,R> CompletableFuture<Subscription> ClusterEventService.subscribe(String topic, Function<M, CompletableFuture<R>> handler) Adds a new subscriber for the specified message topic.default <M,R> CompletableFuture<Subscription> Adds a new subscriber for the specified message topic. -
Uses of Subscription in io.atomix.cluster.messaging.impl
Methods in io.atomix.cluster.messaging.impl that return types with arguments of type SubscriptionModifier and TypeMethodDescriptionDefaultClusterEventService.getSubscriptions(String topicName) DefaultClusterEventService.subscribe(String topic, Function<byte[], M> decoder, Consumer<M> handler, Executor executor) <M,R> CompletableFuture<Subscription> DefaultClusterEventService.subscribe(String topic, Function<byte[], M> decoder, Function<M, CompletableFuture<R>> handler, Function<R, byte[]> encoder) <M,R> CompletableFuture<Subscription> DefaultClusterEventService.subscribe(String topic, Function<byte[], M> decoder, Function<M, R> handler, Function<R, byte[]> encoder, Executor executor)