MySQL 8.0.39
Source Code Documentation
|
Class that keeps all cost constants for a storage engine. More...
#include <opt_costconstants.h>
Public Member Functions | |
Cost_model_se_info () | |
Constructor that just initializes the class. More... | |
~Cost_model_se_info () | |
Destructor. More... | |
Protected Member Functions | |
void | set_cost_constants (SE_cost_constants *cost_constants, unsigned int storage_class) |
Set the storage constants to be used for a given storage type for this storage engine. More... | |
const SE_cost_constants * | get_cost_constants (unsigned int storage_class) const |
Retrieve the cost constants to be used for this storage engine for a specified storage class. More... | |
SE_cost_constants * | get_cost_constants (unsigned int storage_class) |
Retrieve the cost constants to be used for this storage engine for a specified storage class. More... | |
Private Member Functions | |
Cost_model_se_info (const Cost_model_se_info &) | |
Cost_model_se_info & | operator= (const Cost_model_se_info &rhs) |
Private Attributes | |
SE_cost_constants * | m_se_cost_constants [MAX_STORAGE_CLASSES] |
Array of cost constant sets for this storage engine. More... | |
Friends | |
class | Cost_model_constants |
Class that keeps all cost constants for a storage engine.
Since storage engines can use different types of storage devices, each device type can have its own set of cost constants.
Cost_model_se_info::Cost_model_se_info | ( | ) |
Constructor that just initializes the class.
Cost_model_se_info::~Cost_model_se_info | ( | ) |
Destructor.
Deletes the allocated cost constant objects.
|
private |
|
inlineprotected |
Retrieve the cost constants to be used for this storage engine for a specified storage class.
storage_class | the storage class these cost constants should be used for |
|
inlineprotected |
Retrieve the cost constants to be used for this storage engine for a specified storage class.
storage_class | the storage class these cost constants should be used for |
|
private |
|
inlineprotected |
Set the storage constants to be used for a given storage type for this storage engine.
cost_constants | cost constants for the storage engine |
storage_class | the storage class these cost constants should be used for |
|
friend |
|
private |
Array of cost constant sets for this storage engine.
There will be one set of cost constants for each device type defined for the storage engine.