18 #ifndef _DECAF_INTERNAL_UTIL_TIMERTASKHEAP_H_ 19 #define _DECAF_INTERNAL_UTIL_TIMERTASKHEAP_H_ 42 static const int DEFAULT_HEAP_SIZE = 256;
45 std::vector<Pointer<TimerTask> > heap;
68 std::size_t size()
const;
86 void remove(std::size_t pos);
105 std::size_t deleteIfCancelled();
118 void downHeap(std::size_t pos);
#define DECAF_API
Definition: Config.h:29
A Base class for a task object that can be scheduled for one-time or repeated execution by a Timer...
Definition: TimerTask.h:42
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25
A Binary Heap implemented specifically for the Timer class in Decaf Util.
Definition: TimerTaskHeap.h:38