An interface for classes responsible of cache changes allocation management.
More...
#include <IChangePool.hpp>
An interface for classes responsible of cache changes allocation management.
◆ ~IChangePool()
◆ release_cache()
Return a cache change to the pool.
- Parameters
-
[in] | cache_change | Pointer to the cache change to release. |
- Returns
- whether the operation succeeded or not
- Precondition
cache_change
is not nullptr
cache_change
points to a cache change obtained from a call to this->reserve_cache
◆ reserve_cache()
Get a new cache change from the pool.
- Parameters
-
[out] | cache_change | Pointer to the new cache change. |
- Returns
- whether the operation succeeded or not
- Precondition
cache_change
is nullptr
- Postcondition
cache_change
is not nullptr
*cache_change
equals CacheChange_t()
except for the contents of serializedPayload
The documentation for this class was generated from the following file: