22 #ifndef Hypertable_Master_OperationTimedBarrier_h
23 #define Hypertable_Master_OperationTimedBarrier_h
32 const String &block_dependency,
33 const String &wakeup_dependency);
56 #endif // Hypertable_Master_OperationTimedBarrier_h
String m_wakeup_dependency
OperationTimedBarrier(ContextPtr &context, const String &block_dependency, const String &wakeup_dependency)
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.
Declarations for OperationEphemeral.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
virtual bool is_perpetual()
std::condition_variable m_cond
virtual ~OperationTimedBarrier()
String m_block_dependency
virtual void display_state(std::ostream &os)
Write human readable operation state to output stream.
std::chrono::steady_clock::time_point m_expire_time
void advance_into_future(uint32_t millis)
virtual void execute()
Executes (carries out) the operation.
virtual const String name()
Name of operation used for exclusivity.