#include <ReducingHandler.hpp>
Public Member Functions |
| | ReducingHandler (const Poco::SharedPtr< ReducingPartsCountersStorageIf > &reducingPartsCountersStorage, const Poco::SharedPtr< ReduceAdditionsStorageIf > &reduceAdditionsStorage, const Poco::SharedPtr< TaskReducersManagerFactoryIf > &taskReducersManagerFactory, const Poco::SharedPtr< ReducingOutputMessageBuilderIf > &reducingOutputMessageBuilder, const Poco::SharedPtr< SupportNotifierIf > &supportNotifier) |
| virtual | ~ReducingHandler () |
| void | accumulateReducingData (unsigned long long itemId, Poco::SharedPtr< reduce_types::ReducingInputMessage > &reducingInputMessage) |
Poco::SharedPtr
< reduce_types::ReducingOutputMessage > | makeReducing (unsigned long long itemId) |
| void | deleteReducingTaskBy (unsigned long long itemId) |
| int | getAccumulateReducingPartsNumberBy (unsigned long long itemId) |
| unsigned int | getTasksNumber () |
| bool | isTaskTerminatedByTTL (unsigned long long taskId) const |
| bool | isTaskExpired (unsigned long long taskId, unsigned int ttl=USE_TASK_TTL_VALUE) |
| int | cleanupExpiredTasksByTTL (unsigned int maxRemoveTasks=1, unsigned int ttl=USE_TASK_TTL_VALUE) |
| unsigned int | cleanupExpiredTasksByTTLQueue (unsigned int maxRemoveItems, unsigned int minTerminateTime) |
| void | getExceededTTLTasks (unsigned int maxTaskNumber, std::vector< unsigned long long > &exceededTTLTasks, unsigned int ttl=USE_TASK_TTL_VALUE) const |
Detailed Description
Definition at line 30 of file ReducingHandler.hpp.
Constructor & Destructor Documentation
| HCE::reduce::ReducingHandler::~ReducingHandler |
( |
| ) |
|
|
virtual |
Member Function Documentation
| int HCE::reduce::ReducingHandler::cleanupExpiredTasksByTTL |
( |
unsigned int |
maxRemoveTasks = 1, |
|
|
unsigned int |
ttl = USE_TASK_TTL_VALUE |
|
) |
| |
| unsigned int HCE::reduce::ReducingHandler::cleanupExpiredTasksByTTLQueue |
( |
unsigned int |
maxRemoveItems, |
|
|
unsigned int |
minTerminateTime |
|
) |
| |
| void HCE::reduce::ReducingHandler::deleteReducingTaskBy |
( |
unsigned long long |
itemId | ) |
|
| int HCE::reduce::ReducingHandler::getAccumulateReducingPartsNumberBy |
( |
unsigned long long |
itemId | ) |
|
| void HCE::reduce::ReducingHandler::getExceededTTLTasks |
( |
unsigned int |
maxTaskNumber, |
|
|
std::vector< unsigned long long > & |
exceededTTLTasks, |
|
|
unsigned int |
ttl = USE_TASK_TTL_VALUE |
|
) |
| const |
| unsigned int HCE::reduce::ReducingHandler::getTasksNumber |
( |
| ) |
|
| bool HCE::reduce::ReducingHandler::isTaskExpired |
( |
unsigned long long |
taskId, |
|
|
unsigned int |
ttl = USE_TASK_TTL_VALUE |
|
) |
| |
| bool HCE::reduce::ReducingHandler::isTaskTerminatedByTTL |
( |
unsigned long long |
taskId | ) |
const |
The documentation for this class was generated from the following files: