resources
Shared dependencies, file paths, locks, and runtime snapshots for a server.
- class bedrock_server_manager.core.server.resources.ServerResources(server_name: str, *, settings: Settings | None = None, events: EventPublisher | None = None, operations: OperationService | None = None, state: AppState | None = None, storage: Storage | None = None)
Shared server identity, paths, locks, and runtime snapshots.
- get_pid_file_path() str
Return the process ID file in this server’s configuration directory.
- get_file_lock(filepath: str) ReentrantAsyncLock
Return the shared reentrant async lock for a filesystem path.
- property paths: ServerPaths
Immutable filesystem locations for this server identity.