public class RichMetricFactory extends Object
IGangliaMetadataMessage with the
IGangliaMetricMessage.| Constructor and Description |
|---|
RichMetricFactory() |
| Modifier and Type | Method and Description |
|---|---|
RichMetricMessage |
newMetricMessage(String hostName,
IGangliaMetadataMessage decl,
boolean spoof,
Object value)
Method creates an
IGangliaMetricMessage which is consistent with
the supplied IGangliaMetadataMessage. |
public RichMetricMessage newMetricMessage(String hostName, IGangliaMetadataMessage decl, boolean spoof, Object value)
IGangliaMetricMessage which is consistent with
the supplied IGangliaMetadataMessage.hostName - The host reporting this metric value (should be ip:host if
this is a spoof record).decl - The metric declaration.spoof - if this is a spoof record.value - The value.IllegalArgumentException - if the hostName is null.IllegalArgumentException - if the declaration is null.IllegalArgumentException - if the value is null.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.