Package org.redisson
Class ElementsSubscribeService
java.lang.Object
org.redisson.ElementsSubscribeService
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> int
subscribeOnElements
(Supplier<CompletionStage<V>> func, Consumer<V> consumer) Deprecated.<V> int
subscribeOnElements
(Supplier<CompletionStage<V>> func, Function<V, CompletionStage<Void>> consumer) void
unsubscribe
(int listenerId)
-
Constructor Details
-
ElementsSubscribeService
-
-
Method Details
-
subscribeOnElements
public <V> int subscribeOnElements(Supplier<CompletionStage<V>> func, Function<V, CompletionStage<Void>> consumer) -
subscribeOnElements
@Deprecated public <V> int subscribeOnElements(Supplier<CompletionStage<V>> func, Consumer<V> consumer) Deprecated. -
unsubscribe
public void unsubscribe(int listenerId)
-