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.StringgetClassName()The type of the beanjava.lang.StringgetFullName()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.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(java.lang.String listenerName, PropertyTree definition)
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Description copied from interface:TelemetryBeanDefinitionThe type of the bean- Specified by:
getClassNamein interfaceTelemetryBeanDefinition
-
getQueueName
public java.lang.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 java.lang.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 java.util.Map<java.lang.String,java.lang.String> getParameterMap()
Description copied from interface:TelemetryBeanDefinitionAdditional parameters for the bean, e.g. to fill setters- Specified by:
getParameterMapin interfaceTelemetryBeanDefinition
-
-