public interface IGangliaMetadataFactory
Modifier and Type | Method and Description |
---|---|
IGangliaMetadataMessage |
newDecl(String hostName,
String metricName,
Object value)
Factory for new declarations.
|
IGangliaMetadataMessage |
resolve(IGangliaMetadataMessage decl)
Resolve a declaration received over the wire into a declaration with a
richer object behavior.
|
IGangliaMetadataMessage newDecl(String hostName, String metricName, Object value)
hostName
- The name of this host.metricName
- The ganglia metric name (suitably munged if necessary for use
by ganglia).value
- The metric value (NOT null
).null
if this factory
does not know how to declare this metric.IGangliaMetadataMessage resolve(IGangliaMetadataMessage decl)
IGangliaMetadataMessage
.decl
- A declaration (typically received over the wire).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.