public function __construct(Buffer $local, KeyValueStore $cache)
{
$this->cache = $cache;
// (uncommitted) writes must never be evicted (even if that means
// crashing because we run out of memory)
$this->local = $local;
$this->defer = new Defer($this->cache);
}