Interface StorageEngine

All Known Implementing Classes:
RdbStorageEngine

public interface StorageEngine
A storage engine stores the tables of the Yamcs instances.

Besides the built-in RocksDB engine, additional engines can be configured in yamcs.yaml:

 storageEngines:
   - rocksdb2
   - name: myengine
     class: org.example.MyStorageEngine
     args:
       ...
 
The class needs a public constructor without arguments; the engine is then configured with init(String, YConfiguration). Engines can also be registered programmatically with YarchDatabase.addStorageEngine(String, StorageEngine) before the instances are loaded.