This class is a helper class that allows workflow temp data to be read and updated atomically; the write lock for the data is grabbed in the constructor and released in the destructor.
More...
This class is a helper class that allows workflow temp data to be read and updated atomically; the write lock for the data is grabbed in the constructor and released in the destructor.
Calls to the following workflow API functions related to workflow temp data can be made normally while this object exists and the write lock is held; the functions are aware of and automatically use the write lock held by this object:
- Since
- Qorus 3.1.0
◆ constructor()
OMQ::UserApi::Workflow::TempDataHelper::constructor |
( |
| ) |
|
|
private:internal |
creates the object and grabs the write lock for workflow temp data during the lifetime of the object
- Exceptions
-
LOCK-ERROR | another TempDataHelper object exists in the same thread; only one object can be used at a time since the object grabs the write lock |
◆ deleteKey()
nothing OMQ::UserApi::Workflow::TempDataHelper::deleteKey |
( |
softlist |
keysv | ) |
|
|
private:internal |
◆ replace()
nothing OMQ::UserApi::Workflow::TempDataHelper::replace |
( |
*hash< auto > |
new_data | ) |
|
|
private:internal |
◆ update()
nothing OMQ::UserApi::Workflow::TempDataHelper::update |
( |
hash< auto > |
new_data | ) |
|
|
private:internal |
The documentation for this class was generated from the following file: