com.caucho.cloud.elastic
Class ScalingManager

java.lang.Object
  extended by com.caucho.cloud.elastic.ScalingManager

public class ScalingManager
extends java.lang.Object


Constructor Summary
ScalingManager(ElasticCloudSystem scalingSystem)
           
 
Method Summary
 void close()
           
 CloudServerState disable(java.lang.String serverId)
           
 CloudServerState disableSoft(java.lang.String serverId)
           
 CloudServerState enable(java.lang.String serverId)
           
 long getServerTimeout()
           
 boolean isClosed()
           
 CloudServer join(java.lang.String id, java.lang.String address, int port)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScalingManager

public ScalingManager(ElasticCloudSystem scalingSystem)
Method Detail

getServerTimeout

public long getServerTimeout()

isClosed

public boolean isClosed()

enable

public CloudServerState enable(java.lang.String serverId)

disable

public CloudServerState disable(java.lang.String serverId)

disableSoft

public CloudServerState disableSoft(java.lang.String serverId)

join

public CloudServer join(java.lang.String id,
                        java.lang.String address,
                        int port)

close

public void close()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object