Uses of Interface
io.lettuce.core.ConnectionFuture
| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.cluster.topology |
Support for cluster topology refresh.
|
-
Uses of ConnectionFuture in io.lettuce.core
Methods in io.lettuce.core that return ConnectionFuture Modifier and Type Method Description ConnectionFuture<Void>ConnectionFuture. acceptEither(CompletionStage<? extends T> other, Consumer<? super T> action)ConnectionFuture<Void>ConnectionFuture. acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action)ConnectionFuture<Void>ConnectionFuture. acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor)<U> ConnectionFuture<U>ConnectionFuture. applyToEither(CompletionStage<? extends T> other, Function<? super T,U> fn)<U> ConnectionFuture<U>ConnectionFuture. applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn)<U> ConnectionFuture<U>ConnectionFuture. applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Executor executor)static <T> ConnectionFuture<T>ConnectionFuture. completed(SocketAddress remoteAddress, T value)<K, V> ConnectionFuture<StatefulRedisConnection<K,V>>RedisClient. connectAsync(RedisCodec<K,V> codec, RedisURI redisURI)<K, V> ConnectionFuture<StatefulRedisPubSubConnection<K,V>>RedisClient. connectPubSubAsync(RedisCodec<K,V> codec, RedisURI redisURI)ConnectionFuture<T>ConnectionFuture. exceptionally(Function<Throwable,? extends T> fn)static <T> ConnectionFuture<T>ConnectionFuture. from(SocketAddress remoteAddress, CompletableFuture<T> delegate)Create aConnectionFuturegivenSocketAddressandCompletableFutureholding the connection progress.<U> ConnectionFuture<U>ConnectionFuture. handle(BiFunction<? super T,Throwable,? extends U> fn)<U> ConnectionFuture<U>ConnectionFuture. handleAsync(BiFunction<? super T,Throwable,? extends U> fn)<U> ConnectionFuture<U>ConnectionFuture. handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor)protected <K, V, T extends RedisChannelHandler<K, V>>
ConnectionFuture<T>AbstractRedisClient. initializeChannelAsync(ConnectionBuilder connectionBuilder)Connect and initialize a channel fromConnectionBuilder.ConnectionFuture<Void>ConnectionFuture. runAfterBoth(CompletionStage<?> other, Runnable action)ConnectionFuture<Void>ConnectionFuture. runAfterBothAsync(CompletionStage<?> other, Runnable action)ConnectionFuture<Void>ConnectionFuture. runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor)ConnectionFuture<Void>ConnectionFuture. runAfterEither(CompletionStage<?> other, Runnable action)ConnectionFuture<Void>ConnectionFuture. runAfterEitherAsync(CompletionStage<?> other, Runnable action)ConnectionFuture<Void>ConnectionFuture. runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor)ConnectionFuture<Void>ConnectionFuture. thenAccept(Consumer<? super T> action)ConnectionFuture<Void>ConnectionFuture. thenAcceptAsync(Consumer<? super T> action)ConnectionFuture<Void>ConnectionFuture. thenAcceptAsync(Consumer<? super T> action, Executor executor)<U> ConnectionFuture<Void>ConnectionFuture. thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)<U> ConnectionFuture<Void>ConnectionFuture. thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)<U> ConnectionFuture<Void>ConnectionFuture. thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor)<U> ConnectionFuture<U>ConnectionFuture. thenApply(Function<? super T,? extends U> fn)<U> ConnectionFuture<U>ConnectionFuture. thenApplyAsync(Function<? super T,? extends U> fn)<U> ConnectionFuture<U>ConnectionFuture. thenApplyAsync(Function<? super T,? extends U> fn, Executor executor)<U, V> ConnectionFuture<V>ConnectionFuture. thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)<U, V> ConnectionFuture<V>ConnectionFuture. thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)<U, V> ConnectionFuture<V>ConnectionFuture. thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor)<U> ConnectionFuture<U>ConnectionFuture. thenCompose(BiFunction<? super T,? super Throwable,? extends CompletionStage<U>> fn)<U> ConnectionFuture<U>ConnectionFuture. thenCompose(Function<? super T,? extends CompletionStage<U>> fn)<U> ConnectionFuture<U>ConnectionFuture. thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)<U> ConnectionFuture<U>ConnectionFuture. thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor)ConnectionFuture<Void>ConnectionFuture. thenRun(Runnable action)ConnectionFuture<Void>ConnectionFuture. thenRunAsync(Runnable action)ConnectionFuture<Void>ConnectionFuture. thenRunAsync(Runnable action, Executor executor)ConnectionFuture<T>ConnectionFuture. whenComplete(BiConsumer<? super T,? super Throwable> action)ConnectionFuture<T>ConnectionFuture. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)ConnectionFuture<T>ConnectionFuture. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)Methods in io.lettuce.core with parameters of type ConnectionFuture Modifier and Type Method Description protected <T> TAbstractRedisClient. getConnection(ConnectionFuture<T> connectionFuture)Retrieve the connection fromConnectionFuture. -
Uses of ConnectionFuture in io.lettuce.core.cluster.topology
Methods in io.lettuce.core.cluster.topology that return ConnectionFuture Modifier and Type Method Description <K, V> ConnectionFuture<StatefulRedisConnection<K,V>>NodeConnectionFactory. connectToNodeAsync(RedisCodec<K,V> codec, SocketAddress socketAddress)Connects to aSocketAddresswith the givenRedisCodecasynchronously.