NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
The placement amendment handler class is responsible for processing placement amendments of updated shared query plans. To this end, we can initialize the handles with a pre-configured number of handler threads. More...
#include <PlacementAmendmentHandler.hpp>
Public Member Functions | |
PlacementAmendmentHandler (uint16_t numOfHandler) | |
Ctor. More... | |
virtual | ~PlacementAmendmentHandler () |
Dtor. More... | |
void | start () |
Start processing amendment instances. More... | |
void | shutDown () |
Shutdown the handler. More... | |
virtual void | enqueueRequest (const NES::Optimizer::PlacementAmendmentInstancePtr &placementAmendmentInstance) |
Method allows to enqueue the amendment instance for execution in the queue. More... | |
The placement amendment handler class is responsible for processing placement amendments of updated shared query plans. To this end, we can initialize the handles with a pre-configured number of handler threads.
NES::Optimizer::PlacementAmendmentHandler::PlacementAmendmentHandler | ( | uint16_t | numOfHandler | ) |
Ctor.
numOfHandler | number of handler threads to spawn |
|
virtual |
|
virtual |
Method allows to enqueue the amendment instance for execution in the queue.
placementAmendmentInstance | : the object containing required payload and execution logic for amending invalid or missing placements of a shared query plan |
void NES::Optimizer::PlacementAmendmentHandler::shutDown | ( | ) |
Shutdown the handler.
References NES_INFO, and NES_WARNING.
Referenced by ~PlacementAmendmentHandler().
void NES::Optimizer::PlacementAmendmentHandler::start | ( | ) |
Start processing amendment instances.
References NES_INFO, and NES_WARNING.