接口 PlanStorage
- 所有已知实现类:
InMemoryPlanStorage
public interface PlanStorage
Storage interface for persisting and retrieving plans.
Implementations can store plans in memory, database, or any other persistent storage.
-
方法概要
-
方法详细资料
-
addPlan
Add a plan to storage.- 参数:
plan- The plan to store- 返回:
- Mono that completes when the plan is stored
-
getPlan
Get a plan by its ID.- 参数:
planId- The plan ID- 返回:
- Mono emitting the plan, or empty if not found
-
getPlans
Get all plans from storage.- 返回:
- Mono emitting a list of all plans
-