activemq-cpp-3.9.5
activemq::threads::SchedulerTimerTask Class Reference

Extension of the Decaf TimerTask that adds a Runnable instance which is the target of this task. More...

#include <src/main/activemq/threads/SchedulerTimerTask.h>

Inheritance diagram for activemq::threads::SchedulerTimerTask:

Public Member Functions

 SchedulerTimerTask (decaf::lang::Runnable *task, bool ownsTask=true)
 
virtual ~SchedulerTimerTask ()
 
virtual void run ()
 Run method - called by the Thread class in the context of the thread.
 
- Public Member Functions inherited from decaf::util::TimerTask
 TimerTask ()
 
virtual ~TimerTask ()
 
bool cancel ()
 Cancels this timer task.
 
long long scheduledExecutionTime () const
 Returns the scheduled execution time of the most recent actual execution of this task.
 
- Public Member Functions inherited from decaf::lang::Runnable
virtual ~Runnable ()
 

Additional Inherited Members

- Protected Member Functions inherited from decaf::util::TimerTask
bool isScheduled () const
 
void setScheduledTime (long long time)
 
long long getWhen () const
 

Detailed Description

Extension of the Decaf TimerTask that adds a Runnable instance which is the target of this task.

Since
3.3.0

Constructor & Destructor Documentation

◆ SchedulerTimerTask()

activemq::threads::SchedulerTimerTask::SchedulerTimerTask ( decaf::lang::Runnable * task,
bool ownsTask = true )

◆ ~SchedulerTimerTask()

virtual activemq::threads::SchedulerTimerTask::~SchedulerTimerTask ( )
virtual

Member Function Documentation

◆ run()

virtual void activemq::threads::SchedulerTimerTask::run ( )
virtual

Run method - called by the Thread class in the context of the thread.

Implements decaf::lang::Runnable.


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