CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CommandMigrate::ChownMigrationWorker Class Reference

#include <swissknife_migrate.h>

Inheritance diagram for swissknife::CommandMigrate::ChownMigrationWorker:
Collaboration diagram for swissknife::CommandMigrate::ChownMigrationWorker:

Classes

struct  worker_context
 

Public Member Functions

 ChownMigrationWorker (const worker_context *context)
 
- Public Member Functions inherited from swissknife::CommandMigrate::AbstractMigrationWorker< ChownMigrationWorker >
 AbstractMigrationWorker (const worker_context *context)
 
virtual ~AbstractMigrationWorker ()
 
void operator() (const expected_data &data)
 
- Public Member Functions inherited from ConcurrentWorker< ChownMigrationWorker >
virtual ~ConcurrentWorker ()
 
virtual bool Initialize ()
 
virtual void TearDown ()
 

Protected Member Functions

bool RunMigration (PendingCatalog *data) const
 
bool ApplyPersonaMappings (PendingCatalog *data) const
 
- Protected Member Functions inherited from swissknife::CommandMigrate::AbstractMigrationWorker< ChownMigrationWorker >
bool RunMigration (PendingCatalog *data) const
 
bool UpdateNestedCatalogReferences (PendingCatalog *data) const
 
bool UpdateCatalogMetadata (PendingCatalog *data) const
 
bool CleanupNestedCatalogs (PendingCatalog *data) const
 
bool CollectAndAggregateStatistics (PendingCatalog *data) const
 
catalog::WritableCatalogGetWritable (const catalog::Catalog *catalog) const
 
- Protected Member Functions inherited from ConcurrentWorker< ChownMigrationWorker >
 ConcurrentWorker ()
 
ConcurrentWorkers
< ChownMigrationWorker > * 
master () const
 

Private Member Functions

template<class MapT >
std::string GenerateMappingStatement (const MapT &map, const std::string &column) const
 

Private Attributes

const std::string uid_map_statement_
 
const std::string gid_map_statement_
 

Friends

class AbstractMigrationWorker< ChownMigrationWorker >
 

Additional Inherited Members

- Public Types inherited from swissknife::CommandMigrate::AbstractMigrationWorker< ChownMigrationWorker >
typedef
CommandMigrate::PendingCatalog
expected_data
 
typedef
CommandMigrate::PendingCatalog
returned_data
 
- Protected Attributes inherited from swissknife::CommandMigrate::AbstractMigrationWorker< ChownMigrationWorker >
const std::string temporary_directory_
 
const bool collect_catalog_statistics_
 
StopWatch migration_stopwatch_
 

Detailed Description

Definition at line 227 of file swissknife_migrate.h.

Constructor & Destructor Documentation

swissknife::CommandMigrate::ChownMigrationWorker::ChownMigrationWorker ( const worker_context context)
explicit

Definition at line 1852 of file swissknife_migrate.cc.

Member Function Documentation

bool swissknife::CommandMigrate::ChownMigrationWorker::ApplyPersonaMappings ( PendingCatalog data) const
protected

Definition at line 1865 of file swissknife_migrate.cc.

Here is the call graph for this function:

template<class MapT >
std::string swissknife::CommandMigrate::ChownMigrationWorker::GenerateMappingStatement ( const MapT &  map,
const std::string &  column 
) const
private

Definition at line 1901 of file swissknife_migrate.cc.

Here is the call graph for this function:

bool swissknife::CommandMigrate::ChownMigrationWorker::RunMigration ( PendingCatalog data) const
protected

Definition at line 1859 of file swissknife_migrate.cc.

Friends And Related Function Documentation

Definition at line 230 of file swissknife_migrate.h.

Member Data Documentation

const std::string swissknife::CommandMigrate::ChownMigrationWorker::gid_map_statement_
private

Definition at line 261 of file swissknife_migrate.h.

const std::string swissknife::CommandMigrate::ChownMigrationWorker::uid_map_statement_
private

Definition at line 260 of file swissknife_migrate.h.


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