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
A method called when the grpc service is starting.
This method may be overriden if startup logic is required.
- stop() None
A method called when the grpc service is shutting down.
This method may be overriden if shutdown logic is required.
- update_action_result(action_digest: Digest, action_result: ActionResult) None
- get_action_result(action_digest: Digest) ActionResult