Package flumotion :: Package component :: Package misc :: Package httpserver :: Module cachestats :: Class CacheStatistics
[hide private]

Class CacheStatistics

source code

object --+
         |
        CacheStatistics

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
startUpdates(self, updater) source code
 
stopUpdates(self) source code
 
getCacheReadRatio(self) source code
 
getMeanBytesCopied(self) source code
 
getMeanCopyRatio(self) source code
 
onEstimateCacheUsage(self, usage, max) source code
 
onCleanup(self) source code
 
onCopyStarted(self) source code
 
onCopyCancelled(self, size, copied) source code
 
onCopyFinished(self, size) source code
 
_set(self, key, value) source code
 
_update(self) source code
 
_logStatsLine(self)
Statistic fields names:...
source code

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

Class Variables [hide private]
  _updater = None
hash(x)
  _callId = None
hash(x)
Properties [hide private]
  cacheReadRatio
  meanBytesCopied
  meanCopyRatio

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_logStatsLine(self)

source code 

Statistic fields names:
    CRR: Cache Read Ratio
    CMC: Cache Miss Count
    CHC: Cache Hit Count
    THC: Temp Hit Count
    COC: Cache Outdate Count
    CCC: Cache Cleanup Count
    CCU: Cache Current Usage
    CUR: Cache Usage Ratio
    PTC: coPy Total Count
    PCC: coPy Current Count
    PAC: coPy cAncellation Count
    MCS: Mean Copy Size
    MCR: Mean Copy Ratio


Property Details [hide private]

cacheReadRatio

Get Method:
getCacheReadRatio(self)

meanBytesCopied

Get Method:
getMeanBytesCopied(self)

meanCopyRatio

Get Method:
getMeanCopyRatio(self)