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

#include <repository_util.h>

Public Member Functions

 ServerFlagFile (const std::string &path)
 
void Set ()
 
void Clear ()
 
bool IsSet () const
 
const std::string & path () const
 

Private Attributes

std::string path_
 

Detailed Description

A server flag file is a file used to indicate a single-bit state that extends beyond the lifetime of a process, such as the indication that a transaction is open.

Definition at line 112 of file repository_util.h.

Constructor & Destructor Documentation

publish::ServerFlagFile::ServerFlagFile ( const std::string &  path)
inlineexplicit

Definition at line 114 of file repository_util.h.

Member Function Documentation

void publish::ServerFlagFile::Clear ( )

Definition at line 106 of file repository_util.cc.

Referenced by publish::Abort(), notify::Publisher::Publish(), publish::TransactionImpl(), and publish::TransactionRetry().

Here is the caller graph for this function:

bool publish::ServerFlagFile::IsSet ( ) const

Definition at line 111 of file repository_util.cc.

Referenced by publish::Abort(), publish::EditTags(), notify::Publisher::Publish(), publish::Publisher(), and publish::TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string& publish::ServerFlagFile::path ( ) const
inline

Definition at line 120 of file repository_util.h.

void publish::ServerFlagFile::Set ( )

Definition at line 98 of file repository_util.cc.

Referenced by publish::TransactionImpl().

Here is the caller graph for this function:

Member Data Documentation

std::string publish::ServerFlagFile::path_
private

Definition at line 123 of file repository_util.h.

Referenced by Clear(), IsSet(), path(), and Set().


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