Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)
Manages cache checks, updates and invalidation keeping track of basic change
and invalidation statistics.
Note that this is distinct from the ArtifactCache concept, and should probably be renamed.

src/c/o/commons-HEAD/src/python/twitter/pants/tasks/task.py   commons(Download)
 
from .jvm_tool_bootstrapper import JvmToolBootstrapper  # XXX
from .cache_manager import CacheManager, InvalidationCheck, VersionedTargetSet
from .ivy_utils import IvyUtils  # XXX
from .task_error import TaskError
      extra_data.append(hash_file(f))
 
    cache_manager = CacheManager(self._cache_key_generator,
                                 self._build_invalidator_dir,
                                 invalidate_dependents,

src/t/w/twitter.pants-0.0.23/src/twitter/pants/tasks/task.py   twitter.pants(Download)
 
from .jvm_tool_bootstrapper import JvmToolBootstrapper  # XXX
from .cache_manager import CacheManager, InvalidationCheck, VersionedTargetSet
from .ivy_utils import IvyUtils  # XXX
from .task_error import TaskError
      extra_data.append(hash_file(f))
 
    cache_manager = CacheManager(self._cache_key_generator,
                                 self._build_invalidator_dir,
                                 invalidate_dependents,

src/r/e/RedCache-0.3/redcache/__init__.py   RedCache(Download)
from cache_manager import CacheManager, default_cache
from connection import get_current_connection, use_connection