Uses of Class
io.lettuce.core.TimeoutOptions
-
Packages that use TimeoutOptions Package Description io.lettuce.core The Redis client package containingRedisClient
for Redis Standalone and Redis Sentinel operations.io.lettuce.core.cluster Client for Redis Cluster, seeRedisClusterClient
.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 TimeoutOptions
ClientOptions. DEFAULT_TIMEOUT_OPTIONS
Methods in io.lettuce.core that return TimeoutOptions Modifier and Type Method Description TimeoutOptions
TimeoutOptions.Builder. build()
Create a new instance ofTimeoutOptions
.static TimeoutOptions
TimeoutOptions. create()
Create a new instance ofTimeoutOptions
with default settings.static TimeoutOptions
TimeoutOptions. enabled()
Create a new instance ofTimeoutOptions
with enabled timeout applying default connection timeouts.static TimeoutOptions
TimeoutOptions. enabled(Duration timeout)
Create a new instance ofTimeoutOptions
with enabled timeout applying a fixedtimeout
.TimeoutOptions
ClientOptions. getTimeoutOptions()
Returns theTimeoutOptions
.Methods in io.lettuce.core with parameters of type TimeoutOptions Modifier and Type Method Description ClientOptions.Builder
ClientOptions.Builder. timeoutOptions(TimeoutOptions timeoutOptions)
Sets theTimeoutOptions
to 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.Builder
ClusterClientOptions.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)
-