Package org.yamcs.yarch.rocksdb
Class RocksdbSysParamProducer
java.lang.Object
org.yamcs.yarch.rocksdb.RocksdbSysParamProducer
- All Implemented Interfaces:
SystemParametersProducer
Makes system parameters under /yamcs/<instance-id>/rocksdb/
One parameter for each open RocksDB database, containing statistics about the database
-
Constructor Summary
ConstructorDescriptionRocksdbSysParamProducer
(Tablespace tablespace, SystemParametersService sysParamsService) -
Method Summary
Modifier and TypeMethodDescriptionint
How often this producer should be called.getSystemParameters
(long gentime) return the next bunch of parameter values.
-
Constructor Details
-
RocksdbSysParamProducer
-
-
Method Details
-
getSystemParameters
Description copied from interface:SystemParametersProducer
return the next bunch of parameter values.The gentime is the mission time when the parameter collection started. The returning parameters can use this time to allow all parameters in one collection interval to be timestamped with the same time.
- Specified by:
getSystemParameters
in interfaceSystemParametersProducer
-
getFrequency
public int getFrequency()Description copied from interface:SystemParametersProducer
How often this producer should be called. This is a multiplier for the base frequency which is 1 second.For example a value of 3 means call each 3 seconds)
- Specified by:
getFrequency
in interfaceSystemParametersProducer
- Returns:
-