A fake provider that can also be used for external Redis unit testing.
More...
|
| | FakeRedisProvider (const std::shared_ptr< CiiOldbConfigClass > &configuration) |
| |
| void | ReadValueRaw (const ::elt::mal::Uri &uri, const std::string &key_name, const int32_t num_of_slices, ReadPolicy read_policy, std::string &value) override |
| |
| int32_t | WriteValueRaw (const ::elt::mal::Uri &uri, const std::string &key_name, const char *value, const std::size_t value_size, const std::size_t slice_size, const ExpirePolicy &expire_policy) override |
| |
| void | DeleteValueRaw (const ::elt::mal::Uri &uri, const std::string &key_name, const int32_t num_of_slices, const int64_t expire_time_ms) override |
| |
A fake provider that can also be used for external Redis unit testing.
The CiiOldbInMemoryDataPointProvider is extended to forward the read/write and delete method calls to the simplified mock interface MockExtRedisBackend.
◆ FakeRedisProvider()
| rtctk::componentFramework::test::FakeRedisProvider::FakeRedisProvider |
( |
const std::shared_ptr< CiiOldbConfigClass > & | configuration | ) |
|
|
inlineexplicit |
◆ DeleteValueRaw()
| void rtctk::componentFramework::test::FakeRedisProvider::DeleteValueRaw |
( |
const ::elt::mal::Uri & | uri, |
|
|
const std::string & | key_name, |
|
|
const int32_t | num_of_slices, |
|
|
const int64_t | expire_time_ms ) |
|
inlineoverride |
◆ ReadValueRaw()
| void rtctk::componentFramework::test::FakeRedisProvider::ReadValueRaw |
( |
const ::elt::mal::Uri & | uri, |
|
|
const std::string & | key_name, |
|
|
const int32_t | num_of_slices, |
|
|
ReadPolicy | read_policy, |
|
|
std::string & | value ) |
|
inlineoverride |
◆ WriteValueRaw()
| int32_t rtctk::componentFramework::test::FakeRedisProvider::WriteValueRaw |
( |
const ::elt::mal::Uri & | uri, |
|
|
const std::string & | key_name, |
|
|
const char * | value, |
|
|
const std::size_t | value_size, |
|
|
const std::size_t | slice_size, |
|
|
const ExpirePolicy & | expire_policy ) |
|
inlineoverride |
The documentation for this class was generated from the following file: