Package | Description |
---|---|
io.pcp.parfait | |
io.pcp.parfait.pcp |
Modifier and Type | Field and Description |
---|---|
private ValueSemantics |
AbstractMonitorable.semantics |
ValueSemantics |
Specification.semantics |
Modifier and Type | Method and Description |
---|---|
ValueSemantics |
AbstractMonitorable.getSemantics() |
ValueSemantics |
Monitorable.getSemantics() |
ValueSemantics |
Specification.getSemantics() |
ValueSemantics |
Specification.parseSemantics(java.lang.String name,
java.lang.String semantics) |
static ValueSemantics |
ValueSemantics.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueSemantics[] |
ValueSemantics.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
PollingMonitoredValue.poll(java.lang.String name,
java.lang.String description,
MonitorableRegistry registry,
int updateInterval,
com.google.common.base.Supplier<T> poller,
ValueSemantics semantics,
javax.measure.Unit<?> unit)
Convenient factory method to create pollers you don't care about keeping
– that is, pollers which should be registered and start updating their
value, but which you don't need to hold a reference to (because you will
presumably just be modifying the polled source).
|
Constructor and Description |
---|
AbstractMonitorable(java.lang.String name,
java.lang.String description,
java.lang.Class<T> type,
javax.measure.Unit<?> unit,
ValueSemantics semantics) |
PollingMonitoredValue(java.lang.String name,
java.lang.String description,
MonitorableRegistry registry,
int updateInterval,
com.google.common.base.Supplier<T> poller,
ValueSemantics semantics)
Creates a new
PollingMonitoredValue with the specified polling
interval. |
PollingMonitoredValue(java.lang.String name,
java.lang.String description,
MonitorableRegistry registry,
int updateInterval,
com.google.common.base.Supplier<T> poller,
ValueSemantics semantics,
javax.measure.Unit<?> unit)
Creates a new
PollingMonitoredValue with the specified polling
interval. |
PollingMonitoredValue(java.lang.String name,
java.lang.String description,
MonitorableRegistry registry,
int updateInterval,
com.google.common.base.Supplier<T> poller,
ValueSemantics semantics,
javax.measure.Unit<?> unit,
Scheduler scheduler)
Creates a new
PollingMonitoredValue with the specified polling
interval. |
SettableValue(java.lang.String name,
java.lang.String description,
MonitorableRegistry registry,
T initialValue,
javax.measure.Unit<?> unit,
ValueSemantics semantics) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ValueSemantics,Semantics> |
PcpMonitorBridge.SEMANTICS_MAP |
Modifier and Type | Method and Description |
---|---|
private Semantics |
PcpMonitorBridge.convertToPcpSemantics(ValueSemantics semantics) |