org.altlinux.jabbix
Interface MetricTable<M extends JabbixMetric<?>>

Type Parameters:
M - type of table entries
All Known Implementing Classes:
ActiveMetricTable, ResponseQueue

public interface MetricTable<M extends JabbixMetric<?>>

An updatable table of JabbixActiveMetric entries.

Author:
Paul Wolneykien

Method Summary
 void updateMetric(M freshMetric)
          Updates the value of a table entry that is equal to the specified metric with the value of the latter.
 

Method Detail

updateMetric

void updateMetric(M freshMetric)
Updates the value of a table entry that is equal to the specified metric with the value of the latter. If there is no such a metric in the table the method can add the given object to the table.

Parameters:
freshMetric - reference metric with new value
See Also:
JabbixMetric.equals(Object)