Package | Description |
---|---|
io.pcp.parfait |
Modifier and Type | Field and Description |
---|---|
ValueSemantics |
Specification.semantics |
Modifier and Type | Method and Description |
---|---|
ValueSemantics |
Specification.getSemantics() |
ValueSemantics |
Monitorable.getSemantics() |
ValueSemantics |
AbstractMonitorable.getSemantics() |
ValueSemantics |
Specification.parseSemantics(String name,
String semantics) |
static ValueSemantics |
ValueSemantics.valueOf(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(String name,
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(String name,
String description,
Class<T> type,
javax.measure.Unit<?> unit,
ValueSemantics semantics) |
PollingMonitoredValue(String name,
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(String name,
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(String name,
String description,
MonitorableRegistry registry,
int updateInterval,
com.google.common.base.Supplier<T> poller,
ValueSemantics semantics,
javax.measure.Unit<?> unit,
io.pcp.parfait.Scheduler scheduler)
Creates a new
PollingMonitoredValue with the specified polling
interval. |
Copyright © 2009-2018 Performance Co-Pilot. All Rights Reserved.