public class ConnectionOptions extends Object
Constructor and Description |
---|
ConnectionOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
int |
getPort() |
boolean |
isHa() |
boolean |
isHA()
Se need both options (ha / HA in case of typos on the URI)
|
void |
setHa(boolean ha) |
void |
setHA(boolean ha) |
ConnectionOptions |
setHost(String host) |
ConnectionOptions |
setPort(int port) |
String |
toString() |
public ConnectionOptions setHost(String host)
public String getHost()
public ConnectionOptions setPort(int port)
public int getPort()
public boolean isHa()
public void setHa(boolean ha)
public boolean isHA()
public void setHA(boolean ha)
Copyright © 2017 JBoss by Red Hat. All rights reserved.