MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs Namespace Reference

Namespaces

namespace  anonymous_namespace{endpoint_manager.cc}
 
namespace  anonymous_namespace{response_cache.cc}
 
namespace  authentication
 
namespace  database
 
namespace  endpoint
 
namespace  file_system
 
namespace  http
 
namespace  interface
 
namespace  json
 
namespace  monitored
 
namespace  observability
 
namespace  rest
 
namespace  users
 

Classes

struct  CacheEntry
 
class  Configuration
 
class  EndpointConfiguration
 
class  EndpointManager
 
class  EndpointResponseCache
 
class  FileEndpointResponseCache
 
class  GtidManager
 
class  ItemEndpointResponseCache
 
class  PluginConfig
 
class  RegisterEntites
 
class  RegisterEntitesAndCheckIfAllAdded
 
class  ResponseCache
 
class  SslConfiguration
 
class  UserConfigurationInfo
 

Typedefs

using UniversalId = mrs::database::entry::UniversalId
 
using DbObject = mrs::database::entry::DbObject
 
using DbSchema = mrs::database::entry::DbSchema
 
using ContentSet = mrs::database::entry::ContentSet
 
using ContentFile = mrs::database::entry::ContentFile
 
using DbService = mrs::database::entry::DbService
 
using UrlHost = mrs::database::entry::UrlHost
 
using EndpointBase = EndpointManager::EndpointBase
 
using EndpointBasePtr = EndpointManager::EndpointBasePtr
 
using EndpointFactory = EndpointManager::EndpointFactory
 
using ResponseCache = mrs::ResponseCache
 
using EndpointId = EndpointManager::EndpointId
 
using IdType = EndpointManager::EndpointId::IdType
 
template<uint64_t counter_id>
using Counter = observability::EntityCounter< counter_id >
 
template<uint64_t counter_id>
using Average = observability::EntityAverageInt< counter_id >
 
using EntitiesManager = observability::EntitiesManager
 
using Entity = observability::Entity
 

Enumerations

enum  Authentication { kAuthenticationNone , kAuthenticationBasic2Server }
 
enum class  GtidAction { k_is_on_server , k_not_found , k_needs_update }
 

Functions

const EndpointIdget_parent_endpoint_id (const UrlHost &)
 
const EndpointId get_parent_endpoint_id (const DbService &service)
 
const EndpointId get_parent_endpoint_id (const ContentFile &content_file)
 
const EndpointId get_parent_endpoint_id (const ContentSet &content_set)
 
const EndpointId get_parent_endpoint_id (const DbSchema &schema)
 
const EndpointId get_parent_endpoint_id (const DbObject &object)
 
template<typename HoldingContainer >
std::weak_ptr< EndpointBaseget_object_by_id (HoldingContainer *holding, const EndpointId &endpoint_id)
 
void log_debug_db_entry_impl (const UrlHost &host)
 
void log_debug_db_entry_impl (const DbService &service)
 
void log_debug_db_entry_impl (const DbSchema &schema)
 
void log_debug_db_entry_impl (const DbObject &obj)
 
void log_debug_db_entry_impl (const ContentSet &content_set)
 
void log_debug_db_entry_impl (const ContentFile &content_file)
 
template<typename DbType >
void log_debug_db_entry (const DbType &type)
 
template<IdType id_type, typename Target , typename ChangedContainer , typename HoldingContainer >
void process_endpoints (EndpointFactory *factory, ChangedContainer &in, HoldingContainer *holder, std::map< UniversalId, std::shared_ptr< EndpointBase > > *out)
 
void initialize_entities (observability::EntitiesManager *manager)
 

Variables

const uint64_t k_maximum_expire_timeout {43200}
 
const uint64_t k_maximum_inactivity_timeout {43200}
 
const uint64_t k_defulat_expire_timeout {15}
 
constexpr const size_t k_default_object_cache_size = 1000000
 

Typedef Documentation

◆ Average

template<uint64_t counter_id>
using mrs::Average = typedef observability::EntityAverageInt<counter_id>

◆ ContentFile

◆ ContentSet

◆ Counter

template<uint64_t counter_id>
using mrs::Counter = typedef observability::EntityCounter<counter_id>

◆ DbObject

◆ DbSchema

◆ DbService

◆ EndpointBase

◆ EndpointBasePtr

◆ EndpointFactory

◆ EndpointId

◆ EntitiesManager

◆ Entity

◆ IdType

◆ ResponseCache

◆ UniversalId

◆ UrlHost

Enumeration Type Documentation

◆ Authentication

Enumerator
kAuthenticationNone 
kAuthenticationBasic2Server 

◆ GtidAction

enum class mrs::GtidAction
strong
Enumerator
k_is_on_server 
k_not_found 
k_needs_update 

Function Documentation

◆ get_object_by_id()

template<typename HoldingContainer >
std::weak_ptr< EndpointBase > mrs::get_object_by_id ( HoldingContainer *  holding,
const EndpointId endpoint_id 
)

◆ get_parent_endpoint_id() [1/6]

const EndpointId mrs::get_parent_endpoint_id ( const ContentFile content_file)

◆ get_parent_endpoint_id() [2/6]

const EndpointId mrs::get_parent_endpoint_id ( const ContentSet content_set)

◆ get_parent_endpoint_id() [3/6]

const EndpointId mrs::get_parent_endpoint_id ( const DbObject object)

◆ get_parent_endpoint_id() [4/6]

const EndpointId mrs::get_parent_endpoint_id ( const DbSchema schema)

◆ get_parent_endpoint_id() [5/6]

const EndpointId mrs::get_parent_endpoint_id ( const DbService service)

◆ get_parent_endpoint_id() [6/6]

const EndpointId & mrs::get_parent_endpoint_id ( const UrlHost )

◆ initialize_entities()

void mrs::initialize_entities ( observability::EntitiesManager manager)

◆ log_debug_db_entry()

template<typename DbType >
void mrs::log_debug_db_entry ( const DbType &  type)

◆ log_debug_db_entry_impl() [1/6]

void mrs::log_debug_db_entry_impl ( const ContentFile content_file)

◆ log_debug_db_entry_impl() [2/6]

void mrs::log_debug_db_entry_impl ( const ContentSet content_set)

◆ log_debug_db_entry_impl() [3/6]

void mrs::log_debug_db_entry_impl ( const DbObject obj)

◆ log_debug_db_entry_impl() [4/6]

void mrs::log_debug_db_entry_impl ( const DbSchema schema)

◆ log_debug_db_entry_impl() [5/6]

void mrs::log_debug_db_entry_impl ( const DbService service)

◆ log_debug_db_entry_impl() [6/6]

void mrs::log_debug_db_entry_impl ( const UrlHost host)

◆ process_endpoints()

template<IdType id_type, typename Target , typename ChangedContainer , typename HoldingContainer >
void mrs::process_endpoints ( EndpointFactory factory,
ChangedContainer &  in,
HoldingContainer *  holder,
std::map< UniversalId, std::shared_ptr< EndpointBase > > *  out 
)

Variable Documentation

◆ k_default_object_cache_size

constexpr const size_t mrs::k_default_object_cache_size = 1000000
constexpr

◆ k_defulat_expire_timeout

const uint64_t mrs::k_defulat_expire_timeout {15}

◆ k_maximum_expire_timeout

const uint64_t mrs::k_maximum_expire_timeout {43200}

◆ k_maximum_inactivity_timeout

const uint64_t mrs::k_maximum_inactivity_timeout {43200}