Package ganeti :: Package masterd :: Module instance :: Class ImportExportTimeouts
[hide private]
[frames] | no frames]

Class ImportExportTimeouts

source code


Instance Methods [hide private]
 
__init__(self, connect, listen=DEFAULT_LISTEN_TIMEOUT, error=DEFAULT_ERROR_TIMEOUT, ready=DEFAULT_READY_TIMEOUT, progress=DEFAULT_PROGRESS_INTERVAL)
Initializes this class.
source code

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

Class Variables [hide private]
  DEFAULT_READY_TIMEOUT = 10
Time until daemon starts writing status file
  DEFAULT_ERROR_TIMEOUT = 10
Length of time until errors cause hard failure
  DEFAULT_LISTEN_TIMEOUT = 10
Time after which daemon must be listening
  DEFAULT_PROGRESS_INTERVAL = 60
Progress update interval
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, connect, listen=DEFAULT_LISTEN_TIMEOUT, error=DEFAULT_ERROR_TIMEOUT, ready=DEFAULT_READY_TIMEOUT, progress=DEFAULT_PROGRESS_INTERVAL)
(Constructor)

source code 

Initializes this class.

Parameters:
  • connect (number) - Timeout for establishing connection
  • listen (number) - Timeout for starting to listen for connections
  • error (number) - Length of time until errors cause hard failure
  • ready (number) - Timeout for daemon to become ready
  • progress (number) - Progress update interval
Overrides: object.__init__