Class MapBasedParserDef
- java.lang.Object
-
- org.opennms.netmgt.telemetry.distributed.common.MapBasedQueueDef
-
- org.opennms.netmgt.telemetry.distributed.common.MapBasedParserDef
-
- All Implemented Interfaces:
ParserDefinition
,QueueDefinition
,TelemetryBeanDefinition
public class MapBasedParserDef extends MapBasedQueueDef implements ParserDefinition
-
-
Constructor Summary
Constructors Constructor Description MapBasedParserDef(String listenerName, PropertyTree definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
The type of the beanString
getFullName()
Returns the full qualified (unique) name of the parser.Map<String,String>
getParameterMap()
Additional parameters for the bean, e.g.String
getQueueName()
The name of the queue the parser "writes" to.-
Methods inherited from class org.opennms.netmgt.telemetry.distributed.common.MapBasedQueueDef
getBatchIntervalMs, getBatchSize, getName, getNumThreads, getQueueSize, getUseRoutingKey
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.telemetry.config.api.TelemetryBeanDefinition
getName
-
-
-
-
Constructor Detail
-
MapBasedParserDef
public MapBasedParserDef(String listenerName, PropertyTree definition)
-
-
Method Detail
-
getClassName
public String getClassName()
Description copied from interface:TelemetryBeanDefinition
The type of the bean- Specified by:
getClassName
in interfaceTelemetryBeanDefinition
-
getQueueName
public String getQueueName()
Description copied from interface:ParserDefinition
The name of the queue the parser "writes" to.- Specified by:
getQueueName
in interfaceParserDefinition
- Returns:
- The name of the queue the parser "writes" to. Must not be null.
-
getFullName
public String getFullName()
Description copied from interface:ParserDefinition
Returns the full qualified (unique) name of the parser.- Specified by:
getFullName
in interfaceParserDefinition
- Returns:
- The name uniquely identifying the parser. Must not be null.
-
getParameterMap
public Map<String,String> getParameterMap()
Description copied from interface:TelemetryBeanDefinition
Additional parameters for the bean, e.g. to fill setters- Specified by:
getParameterMap
in interfaceTelemetryBeanDefinition
-
-