Package flumotion :: Package component :: Package misc :: Package httpserver :: Module cachedprovider
[hide private]

Module cachedprovider

source code

Classes [hide private]
  FileProviderLocalCachedPlug
WARNING: Currently does not work properly in combination with rate-control.
  LocalPath
  CopyThread
  CopySessionCancelled
  CopySession
I'm serving a file at the same time I'm copying it from the network file system to the cache.
  TempFileDelegate
  DirectFileDelegate
  CachedFileDelegate
  CachedFile
Variables [hide private]
  SEEK_SET = 0
  DEFAULT_CACHE_SIZE = 1000
  DEFAULT_CLEANUP_HIGH_WATERMARK = 1.0
  DEFAULT_CLEANUP_LOW_WATERMARK = 0.6
  FILE_COPY_BUFFER_SIZE = 65536
  TEMP_FILE_POSTFIX = '.tmp'
  MAX_LOGNAME_SIZE = 30
  ID_CACHE_MAX_SIZE = 1024
  LOG_CATEGORY = 'fileprovider-localcached'
  _errorLookup = {2: <class 'flumotion.component.misc.httpserver...
  __package__ = 'flumotion.component.misc.httpserver'
Variables Details [hide private]

_errorLookup

Value:
{2: <class 'flumotion.component.misc.httpserver.fileprovider.NotFoundE\
rror'>,
 13: <class 'flumotion.component.misc.httpserver.fileprovider.AccessEr\
ror'>,
 21: <class 'flumotion.component.misc.httpserver.fileprovider.CannotOp\
enError'>}