CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NoopQuotaManager Class Reference

#include <quota.h>

Inheritance diagram for NoopQuotaManager:
Collaboration diagram for NoopQuotaManager:

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_
 

Detailed Description

No quota management.

Definition at line 117 of file quota.h.

Constructor & Destructor Documentation

virtual NoopQuotaManager::~NoopQuotaManager ( )
inlinevirtual

Definition at line 119 of file quota.h.

Member Function Documentation

virtual bool NoopQuotaManager::Cleanup ( const uint64_t  leave_size)
inlinevirtual

Implements QuotaManager.

Definition at line 134 of file quota.h.

virtual uint64_t NoopQuotaManager::GetCapacity ( )
inlinevirtual

Implements QuotaManager.

Definition at line 152 of file quota.h.

virtual uint64_t NoopQuotaManager::GetCleanupRate ( uint64_t  period_s)
inlinevirtual

Implements QuotaManager.

Definition at line 156 of file quota.h.

virtual uint64_t NoopQuotaManager::GetMaxFileSize ( )
inlinevirtual

Implements QuotaManager.

Definition at line 151 of file quota.h.

virtual pid_t NoopQuotaManager::GetPid ( )
inlinevirtual

Implements QuotaManager.

Definition at line 159 of file quota.h.

virtual uint32_t NoopQuotaManager::GetProtocolRevision ( )
inlinevirtual

Implements QuotaManager.

Definition at line 160 of file quota.h.

virtual uint64_t NoopQuotaManager::GetSize ( )
inlinevirtual

Implements QuotaManager.

Definition at line 153 of file quota.h.

virtual uint64_t NoopQuotaManager::GetSizePinned ( )
inlinevirtual

Implements QuotaManager.

Definition at line 154 of file quota.h.

virtual bool NoopQuotaManager::HasCapability ( Capabilities  capability)
inlinevirtual

Implements QuotaManager.

Definition at line 120 of file quota.h.

virtual void NoopQuotaManager::Insert ( const shash::Any hash,
const uint64_t  size,
const std::string &  description 
)
inlinevirtual

Implements QuotaManager.

Definition at line 122 of file quota.h.

virtual void NoopQuotaManager::InsertVolatile ( const shash::Any hash,
const uint64_t  size,
const std::string &  description 
)
inlinevirtual

Implements QuotaManager.

Definition at line 124 of file quota.h.

virtual std::vector<std::string> NoopQuotaManager::List ( )
inlinevirtual

Implements QuotaManager.

Definition at line 141 of file quota.h.

virtual std::vector<std::string> NoopQuotaManager::ListCatalogs ( )
inlinevirtual

Implements QuotaManager.

Definition at line 145 of file quota.h.

virtual std::vector<std::string> NoopQuotaManager::ListPinned ( )
inlinevirtual

Implements QuotaManager.

Definition at line 142 of file quota.h.

virtual std::vector<std::string> NoopQuotaManager::ListVolatile ( )
inlinevirtual

Implements QuotaManager.

Definition at line 148 of file quota.h.

virtual bool NoopQuotaManager::Pin ( const shash::Any hash,
const uint64_t  size,
const std::string &  description,
const bool  is_catalog 
)
inlinevirtual

Implements QuotaManager.

Definition at line 126 of file quota.h.

virtual void NoopQuotaManager::RegisterBackChannel ( int  back_channel[2],
const std::string &  channel_id 
)
inlinevirtual

Implements QuotaManager.

Definition at line 136 of file quota.h.

virtual void NoopQuotaManager::Remove ( const shash::Any file)
inlinevirtual

Implements QuotaManager.

Definition at line 133 of file quota.h.

virtual bool NoopQuotaManager::SetLimit ( uint64_t  )
inlinevirtual

Implements QuotaManager.

Definition at line 155 of file quota.h.

virtual void NoopQuotaManager::Spawn ( )
inlinevirtual

Implements QuotaManager.

Definition at line 158 of file quota.h.

virtual void NoopQuotaManager::Touch ( const shash::Any hash)
inlinevirtual

Implements QuotaManager.

Definition at line 132 of file quota.h.

virtual void NoopQuotaManager::Unpin ( const shash::Any hash)
inlinevirtual

Implements QuotaManager.

Definition at line 131 of file quota.h.

virtual void NoopQuotaManager::UnregisterBackChannel ( int  back_channel[2],
const std::string &  channel_id 
)
inlinevirtual

Implements QuotaManager.

Definition at line 138 of file quota.h.


The documentation for this class was generated from the following file: