public class ProducerInfo extends Object implements Externalizable
| Constructor and Description |
|---|
ProducerInfo() |
| Modifier and Type | Method and Description |
|---|---|
long |
getDuration() |
String |
getFragmentId() |
String |
getHostAddress() |
String |
getHostName() |
Map<String,String> |
getProperties() |
String |
getSourceOperation() |
String |
getSourceUri() |
long |
getTimestamp() |
boolean |
isMultipleConsumers() |
void |
readExternal(ObjectInput ois) |
void |
setDuration(long duration) |
void |
setFragmentId(String fragmentId) |
void |
setHostAddress(String hostAddress) |
void |
setHostName(String hostName) |
void |
setMultipleConsumers(boolean multipleConsumers) |
void |
setProperties(Map<String,String> properties) |
void |
setSourceOperation(String sourceOperation) |
void |
setSourceUri(String sourceUri) |
void |
setTimestamp(long timestamp) |
void |
writeExternal(ObjectOutput oos) |
public String getSourceUri()
public void setSourceUri(String sourceUri)
sourceUri - the sourceUri to setpublic String getSourceOperation()
public void setSourceOperation(String sourceOperation)
sourceOperation - the sourceOperation to setpublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - the timestamp to setpublic long getDuration()
public void setDuration(long duration)
duration - the duration to setpublic String getFragmentId()
public void setFragmentId(String fragmentId)
fragmentId - the fragmentId to setpublic String getHostName()
public void setHostName(String hostName)
hostName - the hostName to setpublic String getHostAddress()
public void setHostAddress(String hostAddress)
hostAddress - the hostAddress to setpublic boolean isMultipleConsumers()
public void setMultipleConsumers(boolean multipleConsumers)
multipleConsumers - the multipleConsumers to setpublic void setProperties(Map<String,String> properties)
properties - the properties 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.