Storage
SqlControlPlaneStorage
IControlPlaneStorage in the orchestrator's database: the document sits in the single row of nebula_control_plane, replaced on every save.
generated from the sources
Class in namespace
Nebula · Packages/com.1by3.nebula/Services~/Nebula.Services/Storage/SqlControlPlaneStorage.cspublic sealed class SqlControlPlaneStorage : IControlPlaneStorage, IGatewaySessionStore, IScopeStoreIControlPlaneStorage in the orchestrator's database: the document sits in the single row of nebula_control_plane, replaced on every save. Each call opens its own connection (pooled), so the host's background save and the persistence store's writer never share one.
Constructors
SqlControlPlaneStorage
public SqlControlPlaneStorage(NebulaDatabase db);Properties
Backend
public string Backend { get; }Methods
Load
public string Load();Save
public void Save(string json);Dispose
public void Dispose();NebulaDatabase
The standalone orchestrator's database: SQLite (a file next to the orchestrator, the default for a local mesh) or PostgreSQL (for a deployed mesh), behind one ADO.NET surface.
SqlPersistenceStore
IPersistenceStore in the orchestrator's database (NebulaDatabase: SQLite or PostgreSQL), table nebula_entity.