Package com.arangodb.config
Class HostDescription
- java.lang.Object
-
- com.arangodb.config.HostDescription
-
public class HostDescription extends Object
- Author:
- Mark Vollmary, Michele Rastelli
-
-
Constructor Summary
Constructors Constructor Description HostDescription(String host, int port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetHost()intgetPort()inthashCode()static HostDescriptionparse(CharSequence value)Factory method used by MicroProfile Config as automatic converter.StringtoString()
-
-
-
Constructor Detail
-
HostDescription
public HostDescription(String host, int port)
-
-
Method Detail
-
parse
public static HostDescription parse(CharSequence value)
Factory method used by MicroProfile Config as automatic converter.- Parameters:
value- hostname:port- Returns:
- Host
-
getHost
public String getHost()
-
getPort
public int getPort()
-
-