CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NfsMaps Class Referenceabstract

#include <nfs_maps.h>

Inheritance diagram for NfsMaps:
Collaboration diagram for NfsMaps:

Public Member Functions

virtual ~NfsMaps ()
 
virtual uint64_t GetInode (const PathString &path)=0
 
virtual bool GetPath (const uint64_t inode, PathString *path)=0
 
virtual void SetInodeResidue (unsigned residue_class, unsigned remainder)
 
virtual void Spawn ()
 
virtual std::string GetStatistics ()
 

Additional Inherited Members

- Private Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

Definition at line 21 of file nfs_maps.h.

Constructor & Destructor Documentation

virtual NfsMaps::~NfsMaps ( )
inlinevirtual

Definition at line 23 of file nfs_maps.h.

Member Function Documentation

virtual uint64_t NfsMaps::GetInode ( const PathString path)
pure virtual

Implemented in NfsMapsLeveldb, and NfsMapsSqlite.

Referenced by cvmfs::GetDirentForPath().

Here is the caller graph for this function:

virtual bool NfsMaps::GetPath ( const uint64_t  inode,
PathString path 
)
pure virtual

Implemented in NfsMapsLeveldb, and NfsMapsSqlite.

Referenced by cvmfs::GetDirentForInode(), and cvmfs::GetPathForInode().

Here is the caller graph for this function:

virtual std::string NfsMaps::GetStatistics ( )
inlinevirtual

Reimplemented in NfsMapsLeveldb.

Definition at line 37 of file nfs_maps.h.

Referenced by TalkManager::MainResponder().

Here is the caller graph for this function:

virtual void NfsMaps::SetInodeResidue ( unsigned  residue_class,
unsigned  remainder 
)
inlinevirtual

Ensures that NFS maps inodes have the form an+b so that we can have non-overlapping inodes for independent repositories.

Reimplemented in NfsMapsLeveldb.

Definition at line 31 of file nfs_maps.h.

Referenced by FileSystem::SetupNfsMaps().

Here is the caller graph for this function:

virtual void NfsMaps::Spawn ( )
inlinevirtual

Reimplemented in NfsMapsLeveldb.

Definition at line 36 of file nfs_maps.h.

Referenced by Spawn().

Here is the caller graph for this function:


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