CernVM-FS
2.12.0
|
#include <quota.h>
Public Member Functions | |
virtual | ~NoopQuotaManager () |
virtual bool | HasCapability (Capabilities capability) |
virtual void | Insert (const shash::Any &hash, const uint64_t size, const std::string &description) |
virtual void | InsertVolatile (const shash::Any &hash, const uint64_t size, const std::string &description) |
virtual bool | Pin (const shash::Any &hash, const uint64_t size, const std::string &description, const bool is_catalog) |
virtual void | Unpin (const shash::Any &hash) |
virtual void | Touch (const shash::Any &hash) |
virtual void | Remove (const shash::Any &file) |
virtual bool | Cleanup (const uint64_t leave_size) |
virtual void | RegisterBackChannel (int back_channel[2], const std::string &channel_id) |
virtual void | UnregisterBackChannel (int back_channel[2], const std::string &channel_id) |
virtual std::vector< std::string > | List () |
virtual std::vector< std::string > | ListPinned () |
virtual std::vector< std::string > | ListCatalogs () |
virtual std::vector< std::string > | ListVolatile () |
virtual uint64_t | GetMaxFileSize () |
virtual uint64_t | GetCapacity () |
virtual uint64_t | GetSize () |
virtual uint64_t | GetSizePinned () |
virtual bool | SetLimit (uint64_t) |
virtual uint64_t | GetCleanupRate (uint64_t period_s) |
virtual void | Spawn () |
virtual pid_t | GetPid () |
virtual uint32_t | GetProtocolRevision () |
Public Member Functions inherited from QuotaManager | |
QuotaManager () | |
virtual | ~QuotaManager () |
void | BroadcastBackchannels (const std::string &message) |
Additional Inherited Members | |
Public Types inherited from QuotaManager | |
enum | Capabilities { kCapIntrospectSize = 0, kCapIntrospectCleanupRate, kCapList, kCapShrink, kCapListeners } |
Static Public Attributes inherited from QuotaManager | |
static const uint32_t | kProtocolRevision = 2 |
Protected Member Functions inherited from QuotaManager | |
void | LockBackChannels () |
void | UnlockBackChannels () |
Protected Attributes inherited from QuotaManager | |
std::map< shash::Md5, int > | back_channels_ |
pthread_mutex_t * | lock_back_channels_ |
uint32_t | protocol_revision_ |
|
inlinevirtual |
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.
|
inlinevirtual |
Implements QuotaManager.