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 StringgetClassName()The type of the beanStringgetFullName()Returns the full qualified (unique) name of the parser.Map<String,String>getParameterMap()Additional parameters for the bean, e.g.StringgetQueueName()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:TelemetryBeanDefinitionThe type of the bean- Specified by:
getClassNamein interfaceTelemetryBeanDefinition
-
getQueueName
public String getQueueName()
Description copied from interface:ParserDefinitionThe name of the queue the parser "writes" to.- Specified by:
getQueueNamein interfaceParserDefinition- Returns:
- The name of the queue the parser "writes" to. Must not be null.
-
getFullName
public String getFullName()
Description copied from interface:ParserDefinitionReturns the full qualified (unique) name of the parser.- Specified by:
getFullNamein interfaceParserDefinition- Returns:
- The name uniquely identifying the parser. Must not be null.
-
getParameterMap
public Map<String,String> getParameterMap()
Description copied from interface:TelemetryBeanDefinitionAdditional parameters for the bean, e.g. to fill setters- Specified by:
getParameterMapin interfaceTelemetryBeanDefinition
-
-