C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::IWaitProxy Class Referenceabstract

Interface to facilitate customizable waiting. More...

#include <wait_proxy.h>

Inheritance diagram for NYT::IWaitProxy:

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.

Detailed Description

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.


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