public class BmpTelemetryAdapter extends AbstractCollectionAdapter
bundleContextadapterConfig, logParsingTimer, packetsPerLogHistogram| Constructor and Description |
|---|
BmpTelemetryAdapter(AdapterDefinition adapterConfig,
com.codahale.metrics.MetricRegistry metricRegistry,
NodeDao nodeDao,
org.springframework.transaction.support.TransactionTemplate transactionTemplate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMetaDataNodeLookup() |
java.util.stream.Stream<CollectionSetWithAgent> |
handleCollectionMessage(TelemetryMessageLogEntry messageLogEntry,
TelemetryMessageLog messageLog)
Build a collection set from the given message.
|
void |
setCollectionAgentFactory(CollectionAgentFactory collectionAgentFactory) |
void |
setInterfaceToNodeCache(InterfaceToNodeCache interfaceToNodeCache) |
void |
setMetaDataNodeLookup(String metaDataNodeLookup) |
getThresholdingService, handleMessage, setBundleContext, setFilterDao, setPersisterFactory, setThresholdingServicedestroy, handleMessageLogpublic BmpTelemetryAdapter(AdapterDefinition adapterConfig, com.codahale.metrics.MetricRegistry metricRegistry, NodeDao nodeDao, org.springframework.transaction.support.TransactionTemplate transactionTemplate)
public java.util.stream.Stream<CollectionSetWithAgent> handleCollectionMessage(TelemetryMessageLogEntry messageLogEntry, TelemetryMessageLog messageLog)
AbstractCollectionAdapterhandleCollectionMessage in class AbstractCollectionAdaptermessageLogEntry - message to be converted into a collection setmessageLog - message log to which the message belongsCollectionSetWithAgent or an empty value if nothing
should be persistedpublic void setCollectionAgentFactory(CollectionAgentFactory collectionAgentFactory)
public void setInterfaceToNodeCache(InterfaceToNodeCache interfaceToNodeCache)
public String getMetaDataNodeLookup()
public void setMetaDataNodeLookup(String metaDataNodeLookup)
Copyright © 2022. All rights reserved.