RedisManagerConfig
public class RedisManagerConfig
源码Source
io/agentscope/runtime/sandbox/map/RedisManagerConfig.java:21–96Redis 管理器配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.map 包。核心成员包括 getRedisServer、getRedisPort、getRedisDb、getRedisUser、getRedisPassword、builder。
Redis Manager Configuration Class
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime.sandbox.map that deploys, schedules and serves agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getRedisServer() | 获取 `getRedisServer`。 Returns the redis server. |
public Integer getRedisPort() | 获取 `getRedisPort`。 Returns the redis port. |
public Integer getRedisDb() | 获取 `getRedisDb`。 Returns the redis db. |
public String getRedisUser() | 获取 `getRedisUser`。 Returns the redis user. |
public String getRedisPassword() | 获取 `getRedisPassword`。 Returns the redis password. |
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
方法详情Method Detail
getRedisServer
public String getRedisServer()
获取 getRedisServer。
Returns the redis server.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/sandbox/map/RedisManagerConfig.java:36–38getRedisPort
public Integer getRedisPort()
获取 getRedisPort。
Returns the redis port.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/runtime/sandbox/map/RedisManagerConfig.java:40–42getRedisDb
public Integer getRedisDb()
获取 getRedisDb。
Returns the redis db.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/runtime/sandbox/map/RedisManagerConfig.java:44–46getRedisUser
public String getRedisUser()
获取 getRedisUser。
Returns the redis user.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/sandbox/map/RedisManagerConfig.java:48–50getRedisPassword
public String getRedisPassword()
获取 getRedisPassword。
Returns the redis password.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/sandbox/map/RedisManagerConfig.java:52–54builder
public static Builder builder()
static
返回构建器实例。
Returns the builder.
Builder返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source
io/agentscope/runtime/sandbox/map/RedisManagerConfig.java:56–58嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.map 包。核心成员包括 redisServer、redisPort、redisDb、redisUser、redisPassword、build。
A class in io.agentscope.runtime.sandbox.map that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.map.