18#ifndef _DECAF_UTIL_TIMERTASK_H_
19#define _DECAF_UTIL_TIMERTASK_H_
50 long long scheduledTime;
55 friend class TimerImpl;
A Binary Heap implemented specifically for the Timer class in Decaf Util.
Definition: TimerTaskHeap.h:38
Interface for a runnable object - defines a task that can be run by a thread.
Definition: Runnable.h:29
A facility for threads to schedule tasks for future execution in a background thread.
Definition: Timer.h:56
A Base class for a task object that can be scheduled for one-time or repeated execution by a Timer.
Definition: TimerTask.h:42
void setScheduledTime(long long time)
virtual ~TimerTask()
Definition: TimerTask.h:61
bool cancel()
Cancels this timer task.
long long scheduledExecutionTime() const
Returns the scheduled execution time of the most recent actual execution of this task.
long long getWhen() const
Mutex object that offers recursive support on all platforms as well as providing the ability to use t...
Definition: Mutex.h:39
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25