public class CommunicationDetailsDeriver extends AbstractProcessor<Trace,CommunicationDetails>
Processor.ProcessorType| Constructor and Description |
|---|
CommunicationDetailsDeriver()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected static long |
calculateLatency(SourceInfo si,
Trace trace,
Consumer consumer) |
SourceInfoCache |
getSourceInfoCache() |
void |
initialise(String tenantId,
List<Trace> items) |
protected static void |
initialiseOutbound(Node n,
long baseTime,
CommunicationDetails cd,
StringBuilder nodeId)
This method initialises the outbound information from the consumer's nodes in the supplied
communication details.
|
CommunicationDetails |
processOneToOne(String tenantId,
Trace item) |
void |
setSourceInfoCache(SourceInfoCache sourceInfoCache) |
cleanup, getDeliveryDelay, getRetryDelay, getType, isReportRetryExpirationAsWarning, processManyToMany, processOneToManypublic CommunicationDetailsDeriver()
public SourceInfoCache getSourceInfoCache()
public void setSourceInfoCache(SourceInfoCache sourceInfoCache)
sourceInfoCache - the sourceInfoCache to setpublic void initialise(String tenantId, List<Trace> items) throws RetryAttemptException
initialise in interface Processor<Trace,CommunicationDetails>initialise in class AbstractProcessor<Trace,CommunicationDetails>RetryAttemptExceptionpublic CommunicationDetails processOneToOne(String tenantId, Trace item) throws RetryAttemptException
processOneToOne in interface Processor<Trace,CommunicationDetails>processOneToOne in class AbstractProcessor<Trace,CommunicationDetails>RetryAttemptExceptionprotected static long calculateLatency(SourceInfo si, Trace trace, Consumer consumer)
protected static void initialiseOutbound(Node n, long baseTime, CommunicationDetails cd, StringBuilder nodeId)
n - The nodebaseTime - The fragment's base time (ns)cd - The communication detailsnodeId - The path id for the nodeCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.