Class YarchDatabaseInstance

java.lang.Object
org.yamcs.yarch.YarchDatabaseInstance

public class YarchDatabaseInstance extends Object
Handles tables and streams for one Yamcs Instance

Synchronisation policy: to avoid problems with stream disappearing when clients connect to them, all the creation/closing/subscription to streams/tables shall be done while acquiring a lock on the YarchDatabase object. This is done in the StreamSqlStatement.java

Delivery of tuples does not require locking, this means subscription can change while delivering (for that a concurrent list is used in Stream.java)