CernVM-FS
2.12.0
|
#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_ |
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.
|
inlineexplicit |
Definition at line 114 of file repository_util.h.
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().
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().
|
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().
|
private |