public class SystemParametersCollector extends com.google.common.util.concurrent.AbstractService implements Runnable
| Modifier and Type | Field and Description |
|---|---|
static int |
JVM_COLLECTION_INTERVAL |
| Constructor and Description |
|---|
SystemParametersCollector(String instance) |
SystemParametersCollector(String instance,
Map<String,Object> args) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
static SystemParametersCollector |
getInstance(String instance) |
String |
getNamespace()
this is the namespace all system parameters should be in
|
static Pvalue.ParameterValue |
getPV(Yamcs.NamedObjectId id,
long time,
boolean v) |
static Pvalue.ParameterValue |
getPV(Yamcs.NamedObjectId id,
long time,
double v) |
static Pvalue.ParameterValue |
getPV(Yamcs.NamedObjectId id,
long time,
long v) |
static Pvalue.ParameterValue |
getPV(Yamcs.NamedObjectId id,
long time,
String v) |
static Pvalue.ParameterValue |
getUnsignedIntPV(Yamcs.NamedObjectId id,
long time,
int v) |
void |
registerProvider(SystemParametersProducer p,
Collection<Parameter> params) |
void |
run()
Run from the timer, collect all parameters and send them on the stream
|
public static final int JVM_COLLECTION_INTERVAL
public SystemParametersCollector(String instance) throws ConfigurationException
ConfigurationExceptionpublic SystemParametersCollector(String instance, Map<String,Object> args) throws ConfigurationException
ConfigurationExceptionpublic static SystemParametersCollector getInstance(String instance)
public void doStart()
doStart in class com.google.common.util.concurrent.AbstractServicepublic void doStop()
doStop in class com.google.common.util.concurrent.AbstractServicepublic void run()
public void registerProvider(SystemParametersProducer p, Collection<Parameter> params)
public String getNamespace()
public static Pvalue.ParameterValue getPV(Yamcs.NamedObjectId id, long time, String v)
public static Pvalue.ParameterValue getPV(Yamcs.NamedObjectId id, long time, double v)
public static Pvalue.ParameterValue getPV(Yamcs.NamedObjectId id, long time, boolean v)
public static Pvalue.ParameterValue getPV(Yamcs.NamedObjectId id, long time, long v)
public static Pvalue.ParameterValue getUnsignedIntPV(Yamcs.NamedObjectId id, long time, int v)
Copyright © 2017 Space Applications Services. All rights reserved.