public class BmpIntegrationAdapter extends AbstractCollectionAdapter
bundleContext
adapterConfig, logParsingTimer, packetsPerLogHistogram
Constructor and Description |
---|
BmpIntegrationAdapter(AdapterDefinition adapterConfig,
com.codahale.metrics.MetricRegistry metricRegistry,
BmpMessageHandler messageHandler) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
java.util.stream.Stream<CollectionSetWithAgent> |
handleCollectionMessage(TelemetryMessageLogEntry messageLogEntry,
TelemetryMessageLog messageLog)
Build a collection set from the given message.
|
getThresholdingService, handleMessage, setBundleContext, setFilterDao, setPersisterFactory, setThresholdingService
handleMessageLog
public BmpIntegrationAdapter(AdapterDefinition adapterConfig, com.codahale.metrics.MetricRegistry metricRegistry, BmpMessageHandler messageHandler)
public java.util.stream.Stream<CollectionSetWithAgent> handleCollectionMessage(TelemetryMessageLogEntry messageLogEntry, TelemetryMessageLog messageLog)
AbstractCollectionAdapter
handleCollectionMessage
in class AbstractCollectionAdapter
messageLogEntry
- 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 destroy()
destroy
in interface Adapter
destroy
in class AbstractAdapter
Copyright © 2021. All rights reserved.