ThrottlingParams(new_task_latency_threshold_msecs=None, active_task_latency_threshold_msecs=None, max_concurrent_streams=None)¶
Implementation of the ‘Throttling Params.’ model.
Specifies throttling params.
- new_task_latency_threshold_msecs (long|int): If the latency of a
datastore is above this value, then a new backup task that uses the datastore won’t be started.
- active_task_latency_threshold_msecs (long|int): If the latency of a
datastore is above this value, then an existing backup task that uses the datastore will start getting throttled.
- max_concurrent_streams (int): If this value is > 0 and the number of
streams concurrently active on a datastore is equal to it, then any further requests to access the datastore would be denied until the number of active streams reduces. This applies for all the datastores in the specified host.
Creates an instance of this model from a dictionary
object: An instance of this structure class.