cctools
Public Member Functions
resource_monitor.ResourceExhaustion Class Reference

Exception raised when a function goes over the resources limits. More...

Inheritance diagram for resource_monitor.ResourceExhaustion:

Public Member Functions

def __init__
 

Detailed Description

Exception raised when a function goes over the resources limits.

Constructor & Destructor Documentation

def resource_monitor.ResourceExhaustion.__init__ (   self,
  resources,
  function,
  args = None,
  kwargs = None 
)
Parameters
selfReference to the current object.
resourcesDictionary of the resources measured at the time of the exhaustion.
functionFunction that caused the exhaustion.
argsList of positional arguments to function that caused the exhaustion.
kwargsDictionary of keyword arguments to function that caused the exhaustion.

References resource_monitor.ResourceExhaustion.args, resource_monitor.ResourceExhaustion.function, resource_monitor.ResourceExhaustion.kwargs, batch_task.resources, and resource_monitor.ResourceExhaustion.resources.


The documentation for this class was generated from the following file: