Package | Description |
---|---|
io.pcp.parfait | |
io.pcp.parfait.pcp |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMonitorable<T>
Convenience base class for implementing
Monitorable . |
class |
MonitoredConstant<T>
MonitoredConstant provides an implementation of
Monitorable for
simple values that are rarely (read: never) updated, once initialised. |
class |
MonitoredCounter
A MonitoredCounter is a useful implementation of
Monitorable specifically for
implementing long-valued counters. |
class |
MonitoredIntValue
Monitorable implementation for a free-running Integer value. |
class |
MonitoredLongValue
Monitorable implementation for a free-running Long value. |
(package private) class |
MonitoredNumeric<T extends java.lang.Number>
Base implementation of
Monitorable which deals with numeric values. |
class |
MonitoredValue<T>
MonitoredValue provides a convenient implementation of
Monitorable
for free-running values that are updatable through a single set method call. |
class |
PollingMonitoredValue<T>
Monitors the value returned by calls at the provided interval to the provided
Supplier . |
(package private) class |
SettableValue<T>
A base class for Monitorables which can have their value set to an arbitrary
value at runtime.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,Monitorable<?>> |
MonitorableRegistry.monitorables
This is a TreeMap so that the Monitorables are maintained in alphabetical
order for convenience.
|
private java.util.Collection<Monitorable<?>> |
DynamicMonitoringView.previouslySeenMonitorables |
Modifier and Type | Method and Description |
---|---|
private <T> Monitorable<T> |
AgentMonitoringView.createMonitorable(javax.management.ObjectName mBeanName,
Specification specification) |
(package private) Monitorable<?> |
MonitorableRegistry.getMetric(java.lang.String name) |
<T> Monitorable<T> |
AgentMonitoringView.register(Specification specification) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Monitorable<?>> |
MonitorableRegistry.getMonitorables() |
Modifier and Type | Method and Description |
---|---|
void |
MonitorableRegistryListener.monitorableAdded(Monitorable<?> monitorable) |
void |
QuiescentRegistryListener.monitorableAdded(Monitorable<?> monitorable) |
private void |
MonitorableRegistry.notifyListenersOfNewMonitorable(Monitorable<?> monitorable) |
<T> void |
MonitorableRegistry.register(Monitorable<T> monitorable)
Informs this MonitorableRegistry of a new
Monitorable ; that
Monitorable will be added to the registry, assuming no Monitorable with
the same name has previously been registered. |
<T> T |
MonitorableRegistry.registerOrReuse(Monitorable<T> monitorable)
Registers the monitorable if it does not already exist, but otherwise returns an already registered
Monitorable with the same name, Semantics and UNnit definition.
|
void |
Monitor.valueChanged(Monitorable<?> monitorable)
Notifies the Monitor about a change in the underlying value of a
Monitorable . |
Modifier and Type | Method and Description |
---|---|
void |
CompositeMonitoringView.startMonitoring(java.util.Collection<Monitorable<?>> monitorables) |
void |
MonitoringView.startMonitoring(java.util.Collection<Monitorable<?>> monitorables)
Instructs the view to begin its work using the set of Monitorable instances
as the basis for whatever it is this 'view' wants to do with it (say, start externalising
the state of the metrics to an external file).
|
void |
CompositeMonitoringView.stopMonitoring(java.util.Collection<Monitorable<?>> monitorables) |
void |
MonitoringView.stopMonitoring(java.util.Collection<Monitorable<?>> monitorables)
Stops monitoring updates on the Monitorables in the provided registry, any
updates to any of the monitorables passed in will no longer be tracked by this View
|
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ArrayBlockingQueue<Monitorable<?>> |
PcpMonitorBridge.monitorablesPendingUpdate |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
EmptyTextSource.getText(Monitorable<?> monitorable,
MetricName mappedName) |
java.lang.String |
FileParsingTextSource.getText(Monitorable<?> monitorable,
MetricName mappedName) |
java.lang.String |
TextSource.getText(Monitorable<?> monitorable,
MetricName mappedName) |
java.lang.String |
MapTextSource.getText(Monitorable<?> monitorable,
MetricName mappedName) |
java.lang.String |
MetricDescriptionTextSource.getText(Monitorable<?> monitorable,
MetricName mappedName) |
java.lang.String |
StringParsingTextSource.getText(Monitorable<?> monitorable,
MetricName mappedName) |
void |
PcpMonitorBridge.PcpMonitorBridgeMonitor.valueChanged(Monitorable<?> monitorable) |
private void |
PcpMonitorBridge.writeUpdate(Monitorable<?> monitorable) |
Modifier and Type | Method and Description |
---|---|
void |
PcpMonitorBridge.startMonitoring(java.util.Collection<Monitorable<?>> monitorables) |
void |
PcpMonitorBridge.stopMonitoring(java.util.Collection<Monitorable<?>> monitorables) |