Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
Modifier and Type | Method and Description |
---|---|
default RedisPassword |
RedisConfiguration.SentinelConfiguration.getDataNodePassword()
Get the
RedisPassword used when authenticating with a Redis Server. |
RedisPassword |
RedisStaticMasterReplicaConfiguration.getPassword() |
RedisPassword |
RedisClusterConfiguration.getPassword() |
RedisPassword |
RedisStandaloneConfiguration.getPassword() |
RedisPassword |
RedisSentinelConfiguration.getPassword() |
RedisPassword |
RedisConfiguration.WithAuthentication.getPassword()
Get the RedisPassword to use when connecting.
|
RedisPassword |
RedisSocketConfiguration.getPassword() |
static RedisPassword |
RedisConfiguration.getPasswordOrElse(RedisConfiguration configuration,
Supplier<RedisPassword> other) |
default RedisPassword |
RedisConfiguration.getPasswordOrElse(Supplier<RedisPassword> other)
Get the configured
RedisPassword if the current RedisConfiguration is
password aware or evaluate and return the value of the given
Supplier . |
RedisPassword |
RedisSentinelConfiguration.getSentinelPassword() |
RedisPassword |
RedisConfiguration.SentinelConfiguration.getSentinelPassword()
Returns the
RedisPassword to use when connecting to a Redis Sentinel. |
static RedisPassword |
RedisPassword.none()
Create an absent
RedisPassword . |
static RedisPassword |
RedisPassword.of(char[] passwordAsChars)
Create a
RedisPassword from a char array. |
static RedisPassword |
RedisPassword.of(String passwordAsString)
Create a
RedisPassword from a String . |
Modifier and Type | Method and Description |
---|---|
void |
RedisStaticMasterReplicaConfiguration.setPassword(RedisPassword password) |
void |
RedisClusterConfiguration.setPassword(RedisPassword password) |
void |
RedisStandaloneConfiguration.setPassword(RedisPassword password) |
void |
RedisSentinelConfiguration.setPassword(RedisPassword password) |
void |
RedisConfiguration.WithAuthentication.setPassword(RedisPassword password)
Create and set a
RedisPassword for given String . |
void |
RedisSocketConfiguration.setPassword(RedisPassword password) |
void |
RedisSentinelConfiguration.setSentinelPassword(RedisPassword sentinelPassword) |
void |
RedisConfiguration.SentinelConfiguration.setSentinelPassword(RedisPassword password)
Set a
RedisPassword to be used when authenticating with Redis Sentinel. |
Modifier and Type | Method and Description |
---|---|
static RedisPassword |
RedisConfiguration.getPasswordOrElse(RedisConfiguration configuration,
Supplier<RedisPassword> other) |
default RedisPassword |
RedisConfiguration.getPasswordOrElse(Supplier<RedisPassword> other)
Get the configured
RedisPassword if the current RedisConfiguration is
password aware or evaluate and return the value of the given
Supplier . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.