#include <ReducingTaskTTLManager.hpp>
Detailed Description
Definition at line 30 of file ReducingTaskTTLManager.hpp.
Member Function Documentation
void HCE::reduce::ReducingTaskTTLManager::addTaskTTL |
( |
unsigned long long |
taskId, |
|
|
unsigned int |
ttl |
|
) |
| |
|
inline |
int HCE::reduce::ReducingTaskTTLManager::cleanupExpiredTasksByTTL |
( |
unsigned int |
maxRemoveTasks, |
|
|
unsigned int |
ttl = USE_TASK_TTL_VALUE |
|
) |
| |
|
inline |
unsigned int HCE::reduce::ReducingTaskTTLManager::cleanupExpiredTasksByTTLQueue |
( |
unsigned int |
maxRemoveItems, |
|
|
unsigned int |
minTerminateTime |
|
) |
| |
|
inline |
void HCE::reduce::ReducingTaskTTLManager::getExceededTTLTasks |
( |
unsigned int |
maxTaskNumber, |
|
|
std::vector< unsigned long long > & |
exceededTTLTasks, |
|
|
unsigned int |
ttl = 0 |
|
) |
| const |
|
inline |
unsigned int HCE::reduce::ReducingTaskTTLManager::getTaskTTL |
( |
unsigned long long |
taskId | ) |
const |
|
inline |
bool HCE::reduce::ReducingTaskTTLManager::isTaskExpired |
( |
unsigned long long |
taskId, |
|
|
unsigned int |
ttl = USE_TASK_TTL_VALUE |
|
) |
| |
|
inline |
bool HCE::reduce::ReducingTaskTTLManager::isTaskTerminatedByTTL |
( |
unsigned long long |
taskId | ) |
const |
|
inline |
void HCE::reduce::ReducingTaskTTLManager::removeTaskTTL |
( |
unsigned long long |
taskId | ) |
|
|
inline |
The documentation for this class was generated from the following file: