GRPC Core  9.0.0
Public Member Functions
ExecCtxPluck Class Reference

Public Member Functions

 ExecCtxPluck (void *arg)
 
bool CheckReadyToFinish () override
 Check if ready to finish. More...
 
- Public Member Functions inherited from grpc_core::ExecCtx
 ExecCtx ()
 Default Constructor. More...
 
 ExecCtx (uintptr_t fl)
 Parameterised Constructor. More...
 
virtual ~ExecCtx ()
 Destructor. More...
 
 ExecCtx (const ExecCtx &)=delete
 Disallow copy and assignment operators. More...
 
ExecCtxoperator= (const ExecCtx &)=delete
 
unsigned starting_cpu () const
 
CombinerDatacombiner_data ()
 Only to be used by grpc-combiner code. More...
 
grpc_closure_listclosure_list ()
 Return pointer to grpc_closure_list. More...
 
uintptr_t flags ()
 Return flags. More...
 
bool HasWork ()
 Checks if there is work to be done. More...
 
bool Flush ()
 Flush any work that has been enqueued onto this grpc_exec_ctx. More...
 
bool IsReadyToFinish ()
 Returns true if we'd like to leave this execution context as soon as possible: useful for deciding whether to do something more or not depending on outside context. More...
 
grpc_millis Now ()
 Returns the stored current time relative to start if valid, otherwise refreshes the stored time, sets it valid and returns the new value. More...
 
void InvalidateNow ()
 Invalidates the stored time value. More...
 
void SetNowIomgrShutdown ()
 To be used only by shutdown code in iomgr. More...
 
void TestOnlySetNow (grpc_millis new_val)
 To be used only for testing. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from grpc_core::ExecCtx
static void TestOnlyGlobalInit (gpr_timespec new_val)
 
static void GlobalInit (void)
 Global initialization for ExecCtx. More...
 
static void GlobalShutdown (void)
 Global shutdown for ExecCtx. More...
 
static ExecCtxGet ()
 Gets pointer to current exec_ctx. More...
 
static void Set (ExecCtx *exec_ctx)
 
static void Run (const DebugLocation &location, grpc_closure *closure, grpc_error *error)
 
static void RunList (const DebugLocation &location, grpc_closure_list *list)
 
- Static Protected Member Functions inherited from grpc_core::ExecCtx
static void operator delete (void *)
 Disallow delete on ExecCtx. More...
 

Constructor & Destructor Documentation

◆ ExecCtxPluck()

ExecCtxPluck::ExecCtxPluck ( void *  arg)
inline

Member Function Documentation

◆ CheckReadyToFinish()

bool ExecCtxPluck::CheckReadyToFinish ( )
inlineoverridevirtual

Check if ready to finish.

Reimplemented from grpc_core::ExecCtx.


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