@Indexed public class CommunicationDetails extends Object implements Externalizable
| Modifier and Type | Class and Description |
|---|---|
static class |
CommunicationDetails.Outbound
This class represents the outbound connectivity information associated with
the target fragment id.
|
| Constructor and Description |
|---|
CommunicationDetails() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBusinessTransaction() |
long |
getConsumerDuration() |
String |
getId() |
long |
getLatency()
This method returns the latency, between a producer and
consumer, in milliseconds.
|
List<CommunicationDetails.Outbound> |
getOutbound() |
String |
getPrincipal() |
long |
getProducerDuration() |
Map<String,String> |
getProperties() |
String |
getSource() |
String |
getSourceFragmentId() |
String |
getSourceHostAddress() |
String |
getSourceHostName() |
String |
getTarget() |
long |
getTargetFragmentDuration() |
String |
getTargetFragmentId() |
String |
getTargetHostAddress() |
String |
getTargetHostName() |
long |
getTimestamp() |
long |
getTimestampOffset()
This method returns the timestamp offset, between the producer node
and the consumer node, in milliseconds.
|
int |
hashCode() |
boolean |
isInternal() |
boolean |
isMultiConsumer() |
void |
readExternal(ObjectInput ois) |
void |
setBusinessTransaction(String businessTransaction) |
void |
setConsumerDuration(long consumerDuration) |
void |
setId(String id) |
void |
setInternal(boolean internal) |
void |
setLatency(long latency)
This method sets the latency, between a producer and
consumer, in milliseconds.
|
void |
setMultiConsumer(boolean multiConsumer) |
void |
setOutbound(List<CommunicationDetails.Outbound> outbound) |
void |
setPrincipal(String principal) |
void |
setProducerDuration(long producerDuration) |
void |
setProperties(Map<String,String> properties) |
void |
setSource(String source) |
void |
setSourceFragmentId(String sourceFragmentId) |
void |
setSourceHostAddress(String sourceHostAddress) |
void |
setSourceHostName(String sourceHostName) |
void |
setTarget(String target) |
void |
setTargetFragmentDuration(long targetFragmentDuration) |
void |
setTargetFragmentId(String targetFragmentId) |
void |
setTargetHostAddress(String targetHostAddress) |
void |
setTargetHostName(String targetHostName) |
void |
setTimestamp(long timestamp) |
void |
setTimestampOffset(long timestampOffset)
This method sets the timestamp offset, between the producer node
and the consumer node, in milliseconds.
|
String |
toString() |
void |
writeExternal(ObjectOutput oos) |
public String getId()
public void setId(String id)
id - the id to setpublic String getBusinessTransaction()
public void setBusinessTransaction(String businessTransaction)
businessTransaction - the businessTransaction to setpublic String getSource()
public void setSource(String source)
source - the source to setpublic String getTarget()
public void setTarget(String target)
target - the target to setpublic boolean isMultiConsumer()
public void setMultiConsumer(boolean multiConsumer)
multiConsumer - the multiConsumer to setpublic boolean isInternal()
public void setInternal(boolean internal)
internal - the internal to setpublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - the timestamp to setpublic long getLatency()
public void setLatency(long latency)
latency - the latency to setpublic long getConsumerDuration()
public void setConsumerDuration(long consumerDuration)
consumerDuration - the consumerDuration to setpublic long getProducerDuration()
public void setProducerDuration(long producerDuration)
producerDuration - the producerDuration to setpublic long getTimestampOffset()
public void setTimestampOffset(long timestampOffset)
timestampOffset - the timestampOffset to setpublic String getSourceFragmentId()
public void setSourceFragmentId(String sourceFragmentId)
sourceFragmentId - the sourceFragmentId to setpublic String getSourceHostName()
public void setSourceHostName(String sourceHostName)
sourceHostName - the sourceHostName to setpublic String getSourceHostAddress()
public void setSourceHostAddress(String sourceHostAddress)
sourceHostAddress - the sourceHostAddress to setpublic String getTargetFragmentId()
public void setTargetFragmentId(String targetFragmentId)
targetFragmentId - the targetFragmentId to setpublic String getTargetHostName()
public void setTargetHostName(String targetHostName)
targetHostName - the targetHostName to setpublic String getTargetHostAddress()
public void setTargetHostAddress(String targetHostAddress)
targetHostAddress - the targetHostAddress to setpublic long getTargetFragmentDuration()
public void setTargetFragmentDuration(long targetFragmentDuration)
targetFragmentDuration - the targetFragmentDuration to setpublic String getPrincipal()
public void setPrincipal(String principal)
principal - the principal to setpublic void setProperties(Map<String,String> properties)
properties - the properties to setpublic List<CommunicationDetails.Outbound> getOutbound()
public void setOutbound(List<CommunicationDetails.Outbound> outbound)
outbound - the outbound to setpublic void readExternal(ObjectInput ois) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput oos) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.