component that manages the reopening of logfiles.  
 More...
#include <log_reopen_component.h>
component that manages the reopening of logfiles. 
depends on the logging-registry to have initialized all loggers.
As the loggers are plugins, init() must be called after the Loader started all the plugins which can be done by:
loader->after_all_started([](){
 
});
static Mysys_charset_loader * loader
Definition: charset.cc:185
 
void init()
initialize the log-component.
Definition: log_reopen_component.h:76
 
static LogReopenComponent & get_instance()
Definition: log_reopen_component.cc:30
 
The component should be shut down again after the plugins start to shutdown again.
loader->after_first_exit([](){
 
});
void reset()
shutdown the log-component.
Definition: log_reopen_component.h:96
 
   
◆ LogReopenComponent() [1/3]
◆ LogReopenComponent() [2/3]
◆ LogReopenComponent() [3/3]
  
  
      
        
          | mysql_harness::LogReopenComponent::LogReopenComponent  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privatedefault   | 
  
 
 
◆ get_instance()
◆ init()
  
  
      
        
          | void mysql_harness::LogReopenComponent::init  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
initialize the log-component. 
starts LogReopen thread. 
 
 
◆ operator bool()
  
  
      
        
          | mysql_harness::LogReopenComponent::operator bool  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
checks if the component is initialized. 
 
 
◆ operator->() [1/2]
  
  
      
        
          | LogReopen * mysql_harness::LogReopenComponent::operator->  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
forwards pointer deref's to the log_reopen instance. 
 
 
◆ operator->() [2/2]
  
  
      
        
          | const LogReopen * mysql_harness::LogReopenComponent::operator->  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
forwards pointer deref's to the log_reopen instance. 
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ reset()
  
  
      
        
          | void mysql_harness::LogReopenComponent::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
shutdown the log-component. 
 
 
◆ log_reopen_
  
  
      
        
          | std::unique_ptr<LogReopen> mysql_harness::LogReopenComponent::log_reopen_ | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: