buildgrid.server.actioncache.caches.mirrored_cache module

class buildgrid.server.actioncache.caches.mirrored_cache.MirroredCache(first: ActionCacheABC, second: ActionCacheABC)

Bases: ActionCacheABC

Synchronize two mirrored action-caches to the same state

start() None
stop() None
update_action_result(action_digest: Digest, action_result: ActionResult) None
get_action_result(action_digest: Digest) ActionResult