Skip to content

Commit

Permalink
Add getters for redisURI and clientOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmq committed Jun 1, 2024
1 parent fb285d6 commit 3d303e8
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,22 @@ public int getClientId() {
return clientId;
}

/**
* Get the {@link io.lettuce.core.RedisURI} of this redis client.
* @return The RedisURI
*/
public RedisURI getRedisURI() {
return redisURI;
}

/**
* Get the {@link io.lettuce.core.ClientOptions} of this redis client.
* @return The ClientOptions
*/
public ClientOptions getClientOptions() {
return clientOptions;
}

/**
* Get the underlying lettuce {@link io.lettuce.core.RedisClient} for this ScriptRedisClient.
* @return The RedisClient associated with this ScriptRedisClient
Expand Down

0 comments on commit 3d303e8

Please sign in to comment.