AS AgentScopeAPI 手册 / API Reference

RedisManagerConfig

public class RedisManagerConfig
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:21–120

Redis 管理器配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.model.container 包。核心成员包括 getRedisServer、getRedisPort、getRedisDb、getRedisUser、getRedisPassword、getRedisPortKey。

Redis Manager Configuration Class

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
A class in io.agentscope.runtime.sandbox.manager.model.container that talks to model services and returns generated or embedded output.

方法摘要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 String getRedisPortKey()
获取 `getRedisPortKey`。
Returns the redis port key.
public String getRedisContainerPoolKey()
获取 `getRedisContainerPoolKey`。
Returns the redis container pool key.
public static Builder builder()
static
返回构建器实例。
Returns the builder.

方法详情Method Detail

getRedisServer

public String getRedisServer()

获取 getRedisServer。

Returns the redis server.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:40–42

getRedisPort

public Integer getRedisPort()

获取 getRedisPort。

Returns the redis port.

返回Returns Integer
返回数值结果。Returns a numeric result.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:44–46

getRedisDb

public Integer getRedisDb()

获取 getRedisDb。

Returns the redis db.

返回Returns Integer
返回数值结果。Returns a numeric result.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:48–50

getRedisUser

public String getRedisUser()

获取 getRedisUser。

Returns the redis user.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:52–54

getRedisPassword

public String getRedisPassword()

获取 getRedisPassword。

Returns the redis password.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:56–58

getRedisPortKey

public String getRedisPortKey()

获取 getRedisPortKey。

Returns the redis port key.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:60–62

getRedisContainerPoolKey

public String getRedisContainerPoolKey()

获取 getRedisContainerPoolKey。

Returns the redis container pool key.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:64–66

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/manager/model/container/RedisManagerConfig.java:68–70

嵌套类详情Nested Class Detail

Builder

public static class Builder

构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager.model.container 包。核心成员包括 redisServer、redisPort、redisDb、redisUser、redisPassword、redisPortKey。

A class in io.agentscope.runtime.sandbox.manager.model.container that talks to model services and returns generated or embedded output. Declared in io.agentscope.runtime.sandbox.manager.model.container.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.