v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask Class Referencefinal
Inheritance diagram for cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask:
Collaboration diagram for cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask:

Public Types

using Handle = SingleThreadedHandle
 

Public Member Functions

 IncrementalSweepTask (SweeperImpl &sweeper, cppgc::TaskPriority priority)
 
void Run () override
 
- Public Member Functions inherited from v8::Task
virtual ~Task ()=default
 

Static Public Member Functions

static Handle Post (SweeperImpl &sweeper, const std::shared_ptr< cppgc::TaskRunner > &runner, cppgc::TaskPriority priority, std::optional< v8::base::TimeDelta > delay={})
 

Static Public Attributes

static constexpr auto kMaxSweepDuration
 

Private Attributes

SweeperImplsweeper_
 
Handle handle_
 
cppgc::TaskPriority priority_
 

Detailed Description

Definition at line 1441 of file sweeper.cc.

Member Typedef Documentation

◆ Handle

Constructor & Destructor Documentation

◆ IncrementalSweepTask()

cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask::IncrementalSweepTask ( SweeperImpl & sweeper,
cppgc::TaskPriority priority )
inline

Definition at line 1448 of file sweeper.cc.

Member Function Documentation

◆ Post()

static Handle cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask::Post ( SweeperImpl & sweeper,
const std::shared_ptr< cppgc::TaskRunner > & runner,
cppgc::TaskPriority priority,
std::optional< v8::base::TimeDelta > delay = {} )
inlinestatic

Definition at line 1453 of file sweeper.cc.

◆ Run()

void cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask::Run ( )
inlineoverridevirtual

Implements v8::Task.

Definition at line 1468 of file sweeper.cc.

Member Data Documentation

◆ handle_

Handle cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask::handle_
private

Definition at line 1487 of file sweeper.cc.

◆ kMaxSweepDuration

auto cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask::kMaxSweepDuration
staticconstexpr
Initial value:
=
static constexpr TimeDelta FromMilliseconds(int64_t milliseconds)
Definition time.h:84

Definition at line 1445 of file sweeper.cc.

◆ priority_

cppgc::TaskPriority cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask::priority_
private

Definition at line 1488 of file sweeper.cc.

◆ sweeper_

SweeperImpl& cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask::sweeper_
private

Definition at line 1485 of file sweeper.cc.


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