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(java.lang.String listenerName, PropertyTree definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClassName()
The type of the beanjava.lang.String
getFullName()
Returns the full qualified (unique) name of the parser.java.util.Map<java.lang.String,java.lang.String>
getParameterMap()
Additional parameters for the bean, e.g.java.lang.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(java.lang.String listenerName, PropertyTree definition)
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Description copied from interface:TelemetryBeanDefinition
The type of the bean- Specified by:
getClassName
in interfaceTelemetryBeanDefinition
-
getQueueName
public java.lang.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 java.lang.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 java.util.Map<java.lang.String,java.lang.String> getParameterMap()
Description copied from interface:TelemetryBeanDefinition
Additional parameters for the bean, e.g. to fill setters- Specified by:
getParameterMap
in interfaceTelemetryBeanDefinition
-
-