|
C++ YT Wrapper
C++ library for working with YT clusters
|
Interface to facilitate customizable waiting. More...
#include <wait_proxy.h>
Public Member Functions | |
| virtual bool | WaitFuture (const ::NThreading::TFuture< void > &future, TDuration timeout)=0 |
| Wait for the future setting with timeout. | |
| virtual bool | WaitEvent (TSystemEvent &event, TDuration timeout)=0 |
| Wait for a system event with timeout. | |
| virtual bool | WaitCondVar (TCondVar &condVar, TMutex &mutex, TDuration timeout)=0 |
| Wait for the notification on the condition variable with timeout. | |
| virtual void | Sleep (TDuration timeout)=0 |
| Sleep in the current thread for (approximately) specified amount of time. | |
Interface to facilitate customizable waiting.
All the waiting functions in the library are obliged to use the methods of a wait proxy instead of direct function calls.