public class ElasticCloudClient extends java.lang.Object implements ResinScalingClient
Constructor and Description |
---|
ElasticCloudClient(java.lang.String address,
int port) |
ElasticCloudClient(java.lang.String host,
int port,
java.lang.String userName,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(java.lang.String systemKey) |
void |
connect(java.lang.String userName,
java.lang.String password) |
CloudServerState |
disable(java.lang.String serverId) |
CloudServerState |
disableSoft(java.lang.String serverId) |
CloudServerState |
enable(java.lang.String serverId) |
JoinResult |
join(java.lang.String id,
java.lang.String displayId,
java.lang.String address,
int port) |
protected java.io.Serializable |
query(java.io.Serializable query) |
ScalingPod |
status() |
java.lang.String |
toString() |
public ElasticCloudClient(java.lang.String address, int port)
public ElasticCloudClient(java.lang.String host, int port, java.lang.String userName, java.lang.String password)
public void connect(java.lang.String userName, java.lang.String password)
public void connect(java.lang.String systemKey)
public ScalingPod status()
public JoinResult join(java.lang.String id, java.lang.String displayId, java.lang.String address, int port)
public CloudServerState disable(java.lang.String serverId)
disable
in interface ResinScalingClient
public CloudServerState disableSoft(java.lang.String serverId)
disableSoft
in interface ResinScalingClient
public CloudServerState enable(java.lang.String serverId)
enable
in interface ResinScalingClient
protected java.io.Serializable query(java.io.Serializable query)
public void close()
close
in interface ResinScalingClient
public java.lang.String toString()
toString
in class java.lang.Object