![]() |
CernVM-FS
2.12.0
|
#include <fuse_evict.h>
Public Member Functions | |
Handle (unsigned timeout_s) | |
~Handle () | |
bool | IsDone () const |
void | Reset () |
void | WaitFor () |
Private Member Functions | |
void | SetDone () |
![]() | |
SingleCopy () | |
Private Attributes | |
unsigned | timeout_s_ |
atomic_int32 * | status_ |
Friends | |
class | FuseInvalidator |
Used to track the progress of an "invalidation" request. The invalidator will evict cache entries for a duration given by the timeout. For very large caches, active eviction can take longer than the timeout.
The caller needs to keep Handle active until IsDone() is true;
Definition at line 51 of file fuse_evict.h.
|
explicit |
Definition at line 29 of file fuse_evict.cc.
FuseInvalidator::Handle::~Handle | ( | ) |
Definition at line 37 of file fuse_evict.cc.
|
inline |
Definition at line 57 of file fuse_evict.h.
Referenced by FuseRemounter::TryFinish().
|
inline |
Definition at line 58 of file fuse_evict.h.
|
inlineprivate |
Definition at line 62 of file fuse_evict.h.
Referenced by FuseInvalidator::MainInvalidator().
void FuseInvalidator::Handle::WaitFor | ( | ) |
|
friend |
Definition at line 52 of file fuse_evict.h.
|
private |
|
private |
Definition at line 64 of file fuse_evict.h.
Referenced by FuseInvalidator::MainInvalidator().