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
ConstructorsConstructorDescriptionRocksdbSysParamProducer(Tablespace tablespace, SystemParametersService sysParamsService) -
Method Summary
Modifier and TypeMethodDescriptionintHow 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:SystemParametersProducerreturn 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:
getSystemParametersin interfaceSystemParametersProducer
-
getFrequency
public int getFrequency()Description copied from interface:SystemParametersProducerHow 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:
getFrequencyin interfaceSystemParametersProducer- Returns:
-