LocalFileSystemConfig
public class LocalFileSystemConfig extends FileSystemConfig
io/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:26–67本地文件系统配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.fs.local 包,继承自 FileSystemConfig。核心成员包括 builder、createStorageManager、LocalFileSystemConfig。
A class in io.agentscope.runtime.sandbox.manager.fs.local that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.fs.local. Extends FileSystemConfig.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime.sandbox.manager.fs.local that deploys, schedules and serves agents. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public LocalFileSystemConfig(Map<String, String> readonlyMounts, String storageFolderPath, String mountDir, Map<String, String> nonCopyMount) | 初始化 `LocalFileSystemConfig` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
public StorageManager createStorageManager() | 创建存储管理器。 Creates the storage manager. |
构造器详情Constructor Detail
LocalFileSystemConfig
public LocalFileSystemConfig(Map<String, String> readonlyMounts, String storageFolderPath, String mountDir, Map<String, String> nonCopyMount)
初始化 LocalFileSystemConfig 实例。
Creates a new instance.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
readonlyMounts | Map<String, String> | 只读 Mounts(类型 `Map`)。The readonly mounts. |
storageFolderPath | String | 存储 Folder 路径(类型 `String`)。The storage folder path. |
mountDir | String | mount 目录(类型 `String`)。The mount dir. |
nonCopyMount | Map<String, String> | non Copy Mount(类型 `Map`)。The non copy mount. |
io/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:28–36方法详情Method Detail
builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:42–44createStorageManager
public StorageManager createStorageManager()
创建存储管理器。
Creates the storage manager.
StorageManagerio/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:46–49嵌套类详情Nested Class Detail
Builder
public static class Builder extends FileSystemConfig.Builder<Builder>构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager.fs.local 包,继承自 FileSystemConfig.Builder<Builder>。核心成员包括 self、build、Builder。
A class in io.agentscope.runtime.sandbox.manager.fs.local that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.fs.local. Extends FileSystemConfig.Builder