public class JtiGpbAdapter extends AbstractScriptedCollectionAdapter
bundleContextadapterConfig, logParsingTimer, packetsPerLogHistogram| Constructor and Description |
|---|
JtiGpbAdapter(AdapterDefinition adapterConfig,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<CollectionSetWithAgent> |
handleCollectionMessage(TelemetryMessageLogEntry message,
TelemetryMessageLog messageLog)
Build a collection set from the given message.
|
void |
setCollectionAgentFactory(CollectionAgentFactory collectionAgentFactory) |
void |
setInterfaceToNodeCache(InterfaceToNodeCache interfaceToNodeCache) |
void |
setNodeDao(NodeDao nodeDao) |
void |
setTransactionTemplate(org.springframework.transaction.support.TransactionOperations transactionTemplate) |
destroy, getCollectionBuilder, getScript, setScriptgetThresholdingService, handleMessage, setBundleContext, setFilterDao, setPersisterFactory, setThresholdingServicehandleMessageLogpublic JtiGpbAdapter(AdapterDefinition adapterConfig, com.codahale.metrics.MetricRegistry metricRegistry)
public java.util.stream.Stream<CollectionSetWithAgent> handleCollectionMessage(TelemetryMessageLogEntry message, TelemetryMessageLog messageLog)
AbstractCollectionAdapterhandleCollectionMessage in class AbstractCollectionAdaptermessage - 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 void setNodeDao(NodeDao nodeDao)
public void setTransactionTemplate(org.springframework.transaction.support.TransactionOperations transactionTemplate)
Copyright © 2022. All rights reserved.