|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
this class contains the description of the reconfiguration that must be carried out More...
#include <ReconfigurationMessage.hpp>
Public Member Functions | |
| ReconfigurationMessage (const SharedQueryId sharedQueryId, const DecomposedQueryId parentPlanId, const DecomposedQueryPlanVersion parentPlanVersion, ReconfigurationType type, ReconfigurablePtr instance=nullptr, std::any &&userdata=nullptr) | |
| create a reconfiguration task that will be used to kickstart the reconfiguration process More... | |
| ReconfigurationMessage (const SharedQueryId sharedQueryId, const DecomposedQueryId parentPlanId, const DecomposedQueryPlanVersion parentPlanVersion, ReconfigurationType type, uint64_t numThreads, ReconfigurablePtr instance, std::any &&userdata=nullptr, bool blocking=false) | |
| create a reconfiguration task that will be passed to every running thread More... | |
| ReconfigurationMessage (const ReconfigurationMessage &other, uint64_t numThreads, bool blocking=false) | |
| create a reconfiguration task that will be passed to every running thread More... | |
| ReconfigurationMessage (const ReconfigurationMessage &that) | |
| copy constructor More... | |
| ~ReconfigurationMessage () | |
| Destructor that calls destroy() More... | |
| ReconfigurationType | getType () const |
| get the reconfiguration type More... | |
| SharedQueryId | getQueryId () const |
| get the target plan id More... | |
| DecomposedQueryId | getParentPlanId () const |
| get the target plan id More... | |
| DecomposedQueryPlanVersion | getParentPlanVersion () const |
| ReconfigurablePtr | getInstance () const |
| get the target instance to reconfigura More... | |
| void | wait () |
| issue a synchronization barrier for all threads More... | |
| void | postReconfiguration () |
| callback executed after the reconfiguration is carried out More... | |
| void | postWait () |
| issue a synchronization barrier for all threads More... | |
| template<typename T > | |
| T | getUserData () const |
| Provides the userdata installed in this reconfiguration descriptor. More... | |
this class contains the description of the reconfiguration that must be carried out
|
inlineexplicit |
create a reconfiguration task that will be used to kickstart the reconfiguration process
| parentPlanId | the owning plan id |
| parentPlanVersion | the owning plan version |
| type | what kind of reconfiguration we want |
| instance | the target of the reconfiguration |
| userdata | extra information to use in this reconfiguration |
References NES_ASSERT.
|
inlineexplicit |
create a reconfiguration task that will be passed to every running thread
| sharedQueryId | query id |
| parentPlanId | the owning plan id |
| parentPlanVersion | the owning plan version |
| type | reconfiguration type |
| instance | the target of the reconfiguration |
| userdata | extra information to use in this reconfiguration |
| blocking | whether the reconfiguration must block for completion |
References NES_ASSERT.
|
inlineexplicit |
create a reconfiguration task that will be passed to every running thread
| other | the task we want to issue (created using the other ctor) |
| numThreads | number of running threads |
| blocking | whether the reconfiguration must block for completion |
References NES_ASSERT.
|
inline |
copy constructor
| that |
|
inline |
Destructor that calls destroy()
|
inline |
get the target instance to reconfigura
|
inline |
get the target plan id
Referenced by NES::Runtime::AbstractQueryManager::postReconfigurationCallback().
|
inline |
Referenced by NES::Runtime::AbstractQueryManager::postReconfigurationCallback().
|
inline |
get the target plan id
|
inline |
get the reconfiguration type
Referenced by NES::Runtime::Execution::ExecutablePipeline::postReconfigurationCallback(), NES::Runtime::Execution::ExecutableQueryPlan::postReconfigurationCallback(), NES::Runtime::AbstractQueryManager::postReconfigurationCallback(), NES::Network::NetworkSink::postReconfigurationCallback(), NES::Network::NetworkSource::postReconfigurationCallback(), NES::SinkMedium::postReconfigurationCallback(), NES::Runtime::AbstractQueryManager::reconfigure(), NES::Runtime::Execution::ExecutablePipeline::reconfigure(), NES::Network::NetworkSource::reconfigure(), and NES::Network::NetworkSink::reconfigure().
|
inline |
Provides the userdata installed in this reconfiguration descriptor.
| T | the type of the reconfiguration's userdata |
References NES_ASSERT2_FMT.
Referenced by NES::Network::NetworkSink::postReconfigurationCallback(), NES::Network::NetworkSource::postReconfigurationCallback(), NES::SinkMedium::postReconfigurationCallback(), NES::Runtime::Execution::ExecutablePipeline::reconfigure(), NES::Network::NetworkSource::reconfigure(), and NES::Network::NetworkSink::reconfigure().
| void NES::Runtime::ReconfigurationMessage::postReconfiguration | ( | ) |
callback executed after the reconfiguration is carried out
| void NES::Runtime::ReconfigurationMessage::postWait | ( | ) |
issue a synchronization barrier for all threads
| void NES::Runtime::ReconfigurationMessage::wait | ( | ) |
issue a synchronization barrier for all threads