Index
All Classes and Interfaces|All Packages|Serialized Form
C
- clientName() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
clientNamerecord component. - com.ohalee.database.redis - package com.ohalee.database.redis
- com.ohalee.database.redis.builtin - package com.ohalee.database.redis.builtin
- com.ohalee.database.redis.exceptions - package com.ohalee.database.redis.exceptions
- connect() - Method in class com.ohalee.database.redis.RedisProvider
- connection() - Method in class com.ohalee.database.redis.builtin.StringRedisOperations
-
Provides a dedicated Redis connection for String key-value pairs.
- connection() - Method in class com.ohalee.database.redis.LettuceOperations
-
Providers a dedicated Redis connection for the current operation.
D
- database() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
databaserecord component. - disconnect() - Method in class com.ohalee.database.redis.RedisProvider
E
- equals(Object) - Method in record class com.ohalee.database.redis.RedisCredentials
-
Indicates whether some other object is "equal to" this one.
- execute(RedisAsyncCommands<K, V>) - Method in interface com.ohalee.database.redis.LettuceOperations.AsyncRedisOperation
-
Executes logic against the Async commands interface.
- execute(RedisCommands<K, V>) - Method in interface com.ohalee.database.redis.LettuceOperations.SyncRedisOperation
-
Executes logic against the Sync commands interface.
- executeAsync(LettuceOperations.AsyncRedisOperation<K, V, T>) - Method in class com.ohalee.database.redis.LettuceOperations
-
Executes an asynchronous Redis operation.
- executeSync(LettuceOperations.SyncRedisOperation<K, V, T>) - Method in class com.ohalee.database.redis.LettuceOperations
-
Executes a synchronous Redis operation using try-with-resources.
- executeTransactionAsync(LettuceOperations.AsyncRedisOperation<K, V, Void>) - Method in class com.ohalee.database.redis.LettuceOperations
-
Executes an asynchronous transaction (MULTI ...
- executeTransactionSync(LettuceOperations.SyncRedisOperation<K, V, Void>) - Method in class com.ohalee.database.redis.LettuceOperations
-
Executes a synchronous transaction (MULTI ...
F
- from(String, int) - Static method in record class com.ohalee.database.redis.RedisCredentials
-
Creates credentials with the default port (6379), default pool settings (min 5, max 10), and database 0.
- from(String, int, String) - Static method in record class com.ohalee.database.redis.RedisCredentials
-
Creates credentials with default pool settings (min 5, max 10) and database 0.
- from(String, int, String, String) - Static method in record class com.ohalee.database.redis.RedisCredentials
-
Creates credentials with default pool settings (min 5, max 10).
- from(String, int, String, String, int) - Static method in record class com.ohalee.database.redis.RedisCredentials
-
Creates credentials with default pool settings (min 5, max 10).
- from(String, int, String, String, int, int, int) - Static method in record class com.ohalee.database.redis.RedisCredentials
-
Creates credentials with specified pool settings.
- from(String, int, String, String, int, String, int, int) - Static method in record class com.ohalee.database.redis.RedisCredentials
-
Creates credentials with specified pool settings.
- from(String, String) - Static method in record class com.ohalee.database.redis.RedisCredentials
-
Creates credentials with the default port (6379), default pool settings (min 5, max 10), and database 0.
G
- getConnection() - Method in class com.ohalee.database.redis.RedisProvider
H
- hashCode() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns a hash code value for this object.
- host() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
hostrecord component.
L
- LettuceOperations<K,
V> - Class in com.ohalee.database.redis -
Enhanced Redis operations wrapper using the Lettuce driver.
- LettuceOperations() - Constructor for class com.ohalee.database.redis.LettuceOperations
- LettuceOperations.AsyncRedisOperation<K,
V, - Interface in com.ohalee.database.redisT> -
Functional interface for asynchronous Redis operations.
- LettuceOperations.SyncRedisOperation<K,
V, - Interface in com.ohalee.database.redisT> -
Functional interface for synchronous Redis operations.
M
- maximumPoolSize() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
maximumPoolSizerecord component. - minimumPoolSize() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
minimumPoolSizerecord component.
P
- password() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
passwordrecord component. - port() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
portrecord component. - pubSubConnection() - Method in class com.ohalee.database.redis.RedisProvider
-
Gets the dedicated Pub/Sub connection.
R
- RedisCredentials - Record Class in com.ohalee.database.redis
-
Credentials for connecting to a Redis database.
- RedisCredentials(String, int, String, String, int, String, int, int) - Constructor for record class com.ohalee.database.redis.RedisCredentials
-
Creates an instance of a
RedisCredentialsrecord class. - RedisOperationException - Exception Class in com.ohalee.database.redis.exceptions
-
A generic runtime exception representing a failure during a Redis operation.
- RedisOperationException(String, Throwable) - Constructor for exception class com.ohalee.database.redis.exceptions.RedisOperationException
-
Constructs a new
RedisOperationExceptionwith the specified detail message and cause. - RedisProvider - Class in com.ohalee.database.redis
-
Implementation of
DatabaseProviderfor Redis using the Lettuce client. - RedisProvider(RedisCredentials) - Constructor for class com.ohalee.database.redis.RedisProvider
-
Creates a new RedisProvider with the given credentials.
S
- StringRedisOperations - Class in com.ohalee.database.redis.builtin
-
A Redis connection implementation for String key-value pairs.
- StringRedisOperations(RedisProvider) - Constructor for class com.ohalee.database.redis.builtin.StringRedisOperations
-
Constructs a StringRedisConnection with the given RedisProvider.
T
- toString() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns a string representation of this record class.
U
- username() - Method in record class com.ohalee.database.redis.RedisCredentials
-
Returns the value of the
usernamerecord component.
W
- withClientOptions(ClientOptions) - Method in class com.ohalee.database.redis.RedisProvider
-
Sets the
ClientOptionsto be used by the RedisClient. - withClientResources(ClientResources) - Method in class com.ohalee.database.redis.RedisProvider
-
Sets the
ClientResourcesto be used by the RedisClient. - withRedisURI(RedisURI) - Method in class com.ohalee.database.redis.RedisProvider
-
Sets a custom
RedisURIto be used by the RedisClient.
All Classes and Interfaces|All Packages|Serialized Form