Module scalaris :: Class Autoscale
[hide private]
[frames] | no frames]

Class Autoscale

source code


Provides methods to interact with autoscale API.

Instance Methods [hide private]
 
__init__(self, conn=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
process_result_check_config(self, result) source code
 
process_result_pull_scale_req(self, result) source code
 
process_result_lock_scale_req(self, result) source code
 
process_result_unlock_scale_req(self, result) source code
 
check_config(self) source code
 
pull_scale_req(self) source code
 
lock_scale_req(self) source code
 
unlock_scale_req(self) source code
 
close_connection(self)
Close the connection to scalaris (it will automatically be re-opened on the next request).
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  api = '/api/autoscale.yaws'
Create a new object using the given connection.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, conn=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)