| 494 | } |
| 495 | |
| 496 | FileCache::~FileCache() { |
| 497 | running_.CountDown(); |
| 498 | if (descriptor_expiry_thread_) { |
| 499 | descriptor_expiry_thread_->Join(); |
| 500 | } |
| 501 | } |
| 502 | |
| 503 | Status FileCache::Init() { |
| 504 | return Thread::Create("cache", Substitute("$0-evict", cache_name_), |