public class ProducerInfo extends Object implements Externalizable
| Constructor and Description |
|---|
ProducerInfo() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDuration() |
String |
getFragmentId() |
String |
getHostAddress() |
String |
getHostName() |
String |
getOriginUri() |
long |
getTimestamp() |
void |
readExternal(ObjectInput ois) |
void |
setDuration(double duration) |
void |
setFragmentId(String fragmentId) |
void |
setHostAddress(String hostAddress) |
void |
setHostName(String hostName) |
void |
setOriginUri(String originUri) |
void |
setTimestamp(long timestamp) |
void |
writeExternal(ObjectOutput oos) |
public String getOriginUri()
public void setOriginUri(String originUri)
originUri - the originUri to setpublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - the timestamp to setpublic double getDuration()
public void setDuration(double 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 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.