Uses of Class
io.lettuce.core.TimeoutOptions
| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.internal |
Contains internal API.
|
-
Uses of TimeoutOptions in io.lettuce.core
Fields in io.lettuce.core declared as TimeoutOptions Modifier and Type Field Description static TimeoutOptionsClientOptions. DEFAULT_TIMEOUT_OPTIONSMethods in io.lettuce.core that return TimeoutOptions Modifier and Type Method Description TimeoutOptionsTimeoutOptions.Builder. build()Create a new instance ofTimeoutOptions.static TimeoutOptionsTimeoutOptions. create()Create a new instance ofTimeoutOptionswith default settings.static TimeoutOptionsTimeoutOptions. enabled()Create a new instance ofTimeoutOptionswith enabled timeout applying default connection timeouts.static TimeoutOptionsTimeoutOptions. enabled(Duration timeout)Create a new instance ofTimeoutOptionswith enabled timeout applying a fixedtimeout.TimeoutOptionsClientOptions. getTimeoutOptions()Returns theTimeoutOptions.Methods in io.lettuce.core with parameters of type TimeoutOptions Modifier and Type Method Description ClientOptions.BuilderClientOptions.Builder. timeoutOptions(TimeoutOptions timeoutOptions)Sets theTimeoutOptionsto expire and cancel commands. -
Uses of TimeoutOptions in io.lettuce.core.cluster
Methods in io.lettuce.core.cluster with parameters of type TimeoutOptions Modifier and Type Method Description ClusterClientOptions.BuilderClusterClientOptions.Builder. timeoutOptions(TimeoutOptions timeoutOptions) -
Uses of TimeoutOptions in io.lettuce.core.internal
Constructor parameters in io.lettuce.core.internal with type arguments of type TimeoutOptions Constructor Description TimeoutProvider(Supplier<TimeoutOptions> timeoutOptionsSupplier, LongSupplier defaultTimeoutNsSupplier)