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

#include <cache_extern.h>

Public Member Functions

 PluginHandle ()
 
bool IsValid () const
 
int fd_connection () const
 
std::string error_msg () const
 

Private Attributes

int fd_connection_
 
std::string error_msg_
 

Friends

class ExternalCacheManager
 

Detailed Description

Used for race-free startup of an external cache plugin.

Definition at line 39 of file cache_extern.h.

Constructor & Destructor Documentation

ExternalCacheManager::PluginHandle::PluginHandle ( )
inline

Definition at line 42 of file cache_extern.h.

Member Function Documentation

std::string ExternalCacheManager::PluginHandle::error_msg ( ) const
inline

Definition at line 45 of file cache_extern.h.

Referenced by FileSystem::SetupExternalCacheMgr().

Here is the caller graph for this function:

int ExternalCacheManager::PluginHandle::fd_connection ( ) const
inline

Definition at line 44 of file cache_extern.h.

Referenced by FileSystem::SetupExternalCacheMgr().

Here is the caller graph for this function:

bool ExternalCacheManager::PluginHandle::IsValid ( ) const
inline

Definition at line 43 of file cache_extern.h.

Referenced by FileSystem::SetupExternalCacheMgr().

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class ExternalCacheManager
friend

Definition at line 40 of file cache_extern.h.

Member Data Documentation

std::string ExternalCacheManager::PluginHandle::error_msg_
private

Definition at line 53 of file cache_extern.h.

Referenced by error_msg().

int ExternalCacheManager::PluginHandle::fd_connection_
private

The connected file descriptor to pass to Create()

Definition at line 51 of file cache_extern.h.

Referenced by fd_connection(), and IsValid().


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