public static final class DbPoolUtil.HostAndPort extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
int |
getPort() |
static DbPoolUtil.HostAndPort |
parse(String hostPort)
Returns
DbPoolUtil.HostAndPort for specified host:port |
@Nonnull public static DbPoolUtil.HostAndPort parse(@Nonnull String hostPort) throws SQLException
DbPoolUtil.HostAndPort for specified host:porthostPort - Must be host:port formatSQLException - in case of wrong input formatpublic int getPort()
Copyright © 2017 etc.to. All rights reserved.