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 |
---|---|
RedisPassword |
RedisSocketConfiguration.getPassword() |
RedisPassword |
RedisConfiguration.WithPassword.getPassword()
Get the RedisPassword to use when connecting.
|
RedisPassword |
RedisSentinelConfiguration.getPassword() |
RedisPassword |
RedisStandaloneConfiguration.getPassword() |
RedisPassword |
RedisClusterConfiguration.getPassword() |
RedisPassword |
RedisStaticMasterReplicaConfiguration.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 . |
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 |
RedisSocketConfiguration.setPassword(RedisPassword password) |
void |
RedisConfiguration.WithPassword.setPassword(RedisPassword password)
Create and set a
RedisPassword for given String . |
void |
RedisSentinelConfiguration.setPassword(RedisPassword password) |
void |
RedisStandaloneConfiguration.setPassword(RedisPassword password) |
void |
RedisClusterConfiguration.setPassword(RedisPassword password) |
void |
RedisStaticMasterReplicaConfiguration.setPassword(RedisPassword password) |
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–2019 Pivotal Software, Inc.. All rights reserved.