StateServiceProvider
@FunctionalInterface public interface StateServiceProvider extends ComponentProvider<StateService>
源码Source
io/agentscope/runtime/app/AgentApp.java:553–556定义状态服务提供者契约的接口。位于 io.agentscope.runtime.app 包,实现 ComponentProvider<StateService>。核心成员包括 get。
An interface in io.agentscope.runtime.app that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.runtime.app. Implements ComponentProvider
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public StateService get(Properties properties) | 按条件读取数据。 Performs the get operation. |
方法详情Method Detail
get
public StateService get(Properties properties)
按条件读取数据。
Performs the get operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
properties | Properties | 属性(类型 `Properties`)。The properties. |
StateService返回StateService。Returns state service.
源码Source
io/agentscope/runtime/app/AgentApp.java:555