21 #include "lookup_thread.h"
23 #include "lookup_estimator.h"
31 : Thread(
"ExecutionTimeEstimatorLookupEstimatorThread", Thread::OPMODE_WAITFORWAKEUP)
void finalize()
Unregister the estimator.
void init()
Register the estimator.
ExecutionTimeEstimatorLookupEstimatorThread()
Constructor.
Configuration * config
This is the Configuration member used to access the configuration.
virtual int get_int_or_default(const char *path, const int &default_val)
Get value from configuration which is of type int, or the given default if the path does not exist.
void register_provider(std::shared_ptr< ExecutionTimeEstimator > provider, int priority=0)
Add an execution time provider.
void unregister_provider(std::shared_ptr< ExecutionTimeEstimator > provider)
Remove an execution time estimate provider.
ExecutionTimeEstimatorManager * execution_time_estimator_manager_
The ExecutionTimeEstimatorManager that is used to manage the estimators.
Logger * logger
This is the Logger member used to access the logger.
MongoDBConnCreator * mongodb_connmgr
Connection manager to retrieve more client connections from if necessary.