Module Expr Str Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list Assert AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Str body Return ListLoad orelse Return NameLoad decorator_list Assert AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assert AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Lambda arguments args defaults Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Lambda arguments args defaults Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Lambda arguments args defaults Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Call NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Lambda arguments args defaults Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Return TupleLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If UnaryOpNot NameLoad body Return Call NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A The Twisted and Threaded part of this library! N/A os N/A stat twisted.internet defer error reactor threads twirrdy RRDBasicAPI OrderedDict twirrdy protocol issock N/A N/A path N/A N/A N/A mode N/A N/A N/A os stat path N/A N/A stat ST_MODE N/A N/A N/A stat S_ISSOCK mode N/A RRDTwistedAPI N/A RRDBasicAPI N/A N/A Wrapper around RRDBasicAPI that defers calls to threads.
    
    RRDTool updates are pretty quick operations but in an application
    that is making updates constantly they add up. A helpful solution
    is to defer the updates to the reactor's thread pool. Deferring
    calls to the thread pool is optional since that may not make sense
    in many situations.

    This class also supports sending updates via rrdcached.
     __init__ N/A N/A self defer N/A True N/A N/A 
        @param defer: Enable asyncronus calls by default
         N/A N/A self _defer defer N/A N/A self _client None N/A N/A self update N/A self _update_direct N/A open N/A N/A self address pidfile N/A None N/A N/A Open connection to rrdcached

        @param address: path to rrdcached's UNIX socket
        @type address: str
        @param pidfile: optionally check rrdcached's pid file
        @type pidfile: str
         N/A deferred N/A N/A defer Deferred N/A N/A self _client N/A N/A protocol RRDCacheClient deferred N/A N/A N/A reactor connectUNIX address N/A self _client checkPID pidfile N/A N/A self update N/A self _update_cache N/A deferred N/A close N/A N/A self N/A N/A N/A Close connection to rrdcached filter_done N/A N/A result N/A N/A N/A N/A isinstance N/A result value N/A error ConnectionDone N/A N/A None N/A N/A result N/A N/A N/A self _client N/A N/A N/A N/A self _client stopTrying N/A deferred N/A N/A N/A self _client sendLine QUIT N/A N/A N/A deferred addErrback filter_done N/A N/A self _client None N/A N/A self update N/A self _update_direct N/A deferred N/A flush N/A N/A self filename N/A N/A N/A N/A self _client N/A filename N/A N/A self _escape_filename filename N/A N/A N/A N/A self _client sendLine N/A FLUSH %s filename N/A pending N/A N/A self filename N/A N/A parse_value N/A N/A value N/A N/A N/A N/A value U N/A N/A None N/A N/A N/A float value N/A parse_line N/A N/A line N/A N/A N/A fields N/A N/A line split : N/A ds_time N/A int N/A N/A fields pop 0 N/A ds_values N/A N/A parse_value v N/A v fields N/A N/A ds_time ds_values N/A parse_result N/A N/A result N/A N/A N/A lines N/A N/A result splitlines N/A updates N/A N/A parse_line l N/A l N/A lines N/A 1 N/A N/A N/A updates sort N/A updates N/A mask_error N/A N/A failure N/A N/A N/A N/A N/A isinstance N/A failure value N/A protocol RRDCacheError N/A N/A N/A N/A failure value args N/A 0 -1 No such file or directory N/A N/A N/A N/A N/A failure N/A N/A N/A self _client N/A filename N/A N/A self _escape_filename filename N/A d N/A N/A N/A self _client sendLine N/A PENDING %s filename N/A N/A N/A d addCallbacks parse_result mask_error N/A d N/A _escape_filename N/A N/A self filename N/A N/A N/A Escape '' and ' ' in file names N/A N/A N/A N/A N/A filename replace \ \\ replace \  N/A _update_cache N/A N/A self filename timestamp values defer N/A None N/A N/A Update via rrdcached N/A N/A defer None N/A N/A defer N/A self _defer N/A N/A defer N/A N/A N/A N/A N/A super RRDTwistedAPI self update filename timestamp values N/A N/A N/A self _client N/A filename N/A N/A self _escape_filename filename N/A line N/A UPDATE %s %s:%s N/A filename N/A int timestamp N/A N/A : join N/A N/A str v N/A v values N/A N/A N/A N/A self _client sendLine line N/A _update_direct N/A N/A self filename timestamp values defer N/A None N/A N/A Update via library call N/A N/A defer None N/A N/A defer N/A self _defer N/A doupdate N/A N/A N/A N/A N/A N/A N/A super RRDTwistedAPI self update filename timestamp values N/A N/A defer N/A N/A N/A doupdate N/A N/A N/A N/A threads deferToThread doupdate N/A create N/A N/A self filename ds rra step start defer N/A 300 None None N/A N/A N/A defer None N/A N/A defer N/A self _defer N/A docreate N/A N/A N/A N/A N/A N/A N/A super RRDTwistedAPI self create filename ds rra step start N/A N/A defer N/A N/A N/A docreate N/A N/A N/A N/A threads deferToThread docreate N/A info N/A N/A self filename defer N/A None N/A N/A N/A defer None N/A N/A defer N/A self _defer N/A doinfo N/A N/A N/A N/A N/A N/A N/A super RRDTwistedAPI self info filename N/A N/A defer N/A N/A N/A doinfo N/A N/A N/A self _client N/A N/A deferred N/A N/A self flush filename N/A N/A N/A deferred addCallback N/A N/A N/A x N/A N/A N/A threads deferToThread doinfo N/A deferred N/A N/A N/A N/A threads deferToThread doinfo N/A lastupdate N/A N/A self filename defer N/A None N/A N/A N/A defer None N/A N/A defer N/A self _defer N/A doinfo N/A N/A N/A N/A N/A N/A N/A super RRDTwistedAPI self lastupdate filename merge N/A N/A pending N/A N/A returnmerged N/A N/A result N/A N/A N/A ds_time N/A N/A pending N/A -1 N/A 0 N/A ds_values N/A N/A pending N/A -1 N/A 1 N/A ds_names N/A N/A N/A result N/A 1 keys N/A N/A ds_time N/A OrderedDict N/A zip ds_names ds_values N/A N/A deferred N/A N/A threads deferToThread doinfo N/A pending N/A N/A N/A N/A deferred addCallback returnmerged N/A deferred N/A N/A N/A defer N/A N/A N/A doinfo N/A N/A N/A self _client N/A N/A deferred N/A N/A self pending filename N/A N/A N/A deferred addCallback merge N/A deferred N/A N/A N/A N/A threads deferToThread doinfo N/A N/A