36 HT_INFOF(
"Entering WaitForServers-%lld (state=%s)",
39 if (
m_context->rsc_manager->connection_count() == 0) {
46 HT_INFOF(
"Leaving WaitForServers-%lld (state=%s)",
51 return "OperationWaitForServers";
55 return String(
"WaitForServers");
ContextPtr m_context
Pointer to Master context.
virtual const String name()
Name of operation used for exclusivity.
Abstract base class for ephemeral operations.
std::string String
A String is simply a typedef to std::string.
virtual const String label()
Human readable label for operation.
const char * get_text(int32_t state)
virtual void execute()
Executes (carries out) the operation.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
Compatibility Macros for C/C++.
OperationWaitForServers(ContextPtr &context)
long long int Lld
Shortcut for printf formats.
DependencySet m_obstructions
Set of obstructions.
#define HT_INFOF(msg,...)
void complete_ok(std::vector< MetaLog::EntityPtr > &additional)
Error codes, Exception handling, error logging.