public class NOPMetadataFactory extends Object implements IGangliaMetadataFactory
Constructor and Description |
---|
NOPMetadataFactory() |
Modifier and Type | Method and Description |
---|---|
IGangliaMetadataMessage |
newDecl(String hostName,
String metricName,
Object value)
Always returns
null . |
IGangliaMetadataMessage |
resolve(IGangliaMetadataMessage decl)
Always returns the caller's argument.
|
public IGangliaMetadataMessage newDecl(String hostName, String metricName, Object value)
null
.newDecl
in interface IGangliaMetadataFactory
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.public IGangliaMetadataMessage resolve(IGangliaMetadataMessage decl)
resolve
in interface IGangliaMetadataFactory
decl
- A declaration (typically received over the wire).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.