Class ValkeyProperties
java.lang.Object
io.valkey.springframework.boot.autoconfigure.data.valkey.ValkeyProperties
Configuration properties for Valkey.
- Since:
- 1.0.0
- Author:
- Dave Syer, Christoph Strobl, EddĂș MelĂ©ndez, Marco Aust, Mark Paluch, Stephane Nicoll, Scott Frederick, Yanming Zhou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of Valkey client to use.static classCluster properties.static classJedis client properties.static classLettuce client properties.static classListener properties.static classMaster Replica properties.static classPool properties.static classRecovery properties.static classValkey sentinel properties.static classstatic classValkey GLIDE client properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable ValkeyProperties.ClientType@Nullable ValkeyProperties.Cluster@Nullable DurationintgetHost()getJedis()@Nullable ValkeyProperties.Masterreplica@Nullable StringintgetPort()@Nullable ValkeyProperties.SentinelgetSsl()@Nullable Duration@Nullable StringgetUrl()@Nullable StringvoidsetClientName(@Nullable String clientName) voidsetClientType(@Nullable ValkeyProperties.ClientType clientType) voidsetCluster(@Nullable ValkeyProperties.Cluster cluster) voidsetConnectTimeout(@Nullable Duration connectTimeout) voidsetDatabase(int database) voidvoidsetMasterreplica(@Nullable ValkeyProperties.Masterreplica masterreplica) voidsetPassword(@Nullable String password) voidsetPort(int port) voidsetSentinel(@Nullable ValkeyProperties.Sentinel sentinel) voidsetTimeout(@Nullable Duration timeout) voidvoidsetUsername(@Nullable String username)
-
Constructor Details
-
ValkeyProperties
public ValkeyProperties()
-
-
Method Details
-
getValkeyGlide
-
getListener
-
getDatabase
public int getDatabase() -
setDatabase
public void setDatabase(int database) -
getUrl
-
setUrl
-
getHost
-
setHost
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getSsl
-
getTimeout
-
setTimeout
-
getConnectTimeout
-
setConnectTimeout
-
getClientName
-
setClientName
-
getClientType
-
setClientType
-
getSentinel
-
setSentinel
-
getCluster
-
setCluster
-
getMasterreplica
-
setMasterreplica
-
getJedis
-
getLettuce
-