Package ZenModel :: Module ThresholdInstance :: Class ThresholdContext
[hide private]
[frames] | no frames]

Class ThresholdContext

source code

 twisted.spread.jelly.Jellyable --+        
                                  |        
twisted.spread.flavors.Serializable --+    
                                      |    
        twisted.spread.flavors.Copyable --+
                                          |
   twisted.spread.jelly.Unjellyable --+   |
                                      |   |
      twisted.spread.flavors.RemoteCopy --+
                                          |
                                         ThresholdContext

Remember all the little details about a specific data point within a context. This is useful for error messages and path information in the collectors. It's a copy of the key bits of information from the Model.

Instance Methods [hide private]
 
__init__(self, context) source code
 
key(self)
Unique data that refers this context
source code
 
fileKey(self, dataPoint)
Unique base filename for this context and given dataPoint
source code
 
path(self, dataPoint)
The full pathname to RRD file that uses a dataPoint
source code

Inherited from twisted.spread.flavors.Copyable: getStateToCopy, getStateToCopyFor, getTypeToCopy, getTypeToCopyFor, jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.spread.flavors.RemoteCopy: setCopyableState, unjellyFor

Inherited from twisted.spread.jelly.Unjellyable: setStateFor

Class Variables [hide private]

Inherited from twisted.spread.flavors.Serializable: __implemented__, __provides__