org.apache.flume.api
Class HostInfo
java.lang.Object
org.apache.flume.api.HostInfo
public class HostInfo
- extends Object
A convenience class that holds the property reference name along with the
hostname and port number of a specified host address. It also provides
a method to parse out the host list from a given properties object
that contains the host details.
HostInfo
public HostInfo(String referenceName,
String hostName,
int portNumber)
getReferenceName
public String getReferenceName()
getHostName
public String getHostName()
getPortNumber
public int getPortNumber()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.