HLCC Documentation 3.0.0
Loading...
Searching...
No Matches
hlcc::oldbmux::test::CiiOldbDataPointAsyncTest Class Reference
Inheritance diagram for hlcc::oldbmux::test::CiiOldbDataPointAsyncTest:

Classes

struct  OldbWriteResults
 

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
OldbWriteResults CheckOldbWriteFutures (std::vector< boost::future< CiiOldbDataPointAsync< string >::OldbData > > &futures)
 
OldbWriteResults WriteHelloStrings (const int n)
 

Protected Attributes

unique_ptr< log4cplus::Logger > logger
 
shared_ptr< elt::oldb::CiiOldbDataPoint< string > > dp_sync
 
boost::asio::thread_pool async_exec {1}
 
shared_ptr< CiiOldbDataPointAsync< string > > dp_async
 

Member Function Documentation

◆ CheckOldbWriteFutures()

CiiOldbDataPointAsyncTest::OldbWriteResults hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::CheckOldbWriteFutures ( std::vector< boost::future< CiiOldbDataPointAsync< string >::OldbData > > & futures)
protected

Helper method that makes statistics from a list of DP-write futures.

◆ SetUp()

void hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::TearDown ( )
inlineoverrideprotected

◆ WriteHelloStrings()

CiiOldbDataPointAsyncTest::OldbWriteResults hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::WriteHelloStrings ( const int n)
protected

Test helper function that writes the string "hello test " (plus a suffix number) to our OLDB DP, for the given number of repetitions. It then waits for all writes to finish.

Member Data Documentation

◆ async_exec

boost::asio::thread_pool hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::async_exec {1}
protected

thread pool for background OLDB calls

◆ dp_async

shared_ptr<CiiOldbDataPointAsync<string> > hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::dp_async
protected

◆ dp_sync

shared_ptr<elt::oldb::CiiOldbDataPoint<string> > hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::dp_sync
protected

◆ logger

unique_ptr<log4cplus::Logger> hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::logger
protected

The documentation for this class was generated from the following file: