ensembl-hive  2.6
Bio::EnsEMBL::Hive::Utils::SQLErrorParser Class Reference

Public Member Functions

public is_connection_lost ()
 
public is_server_too_busy ()
 
public is_deadlock ()
 

Detailed Description

Description

A collection of functions that recognize common SQL errors of each parser.

These functions are typically called by DBConnection, CoreDBConnection and StatementHandle.

Definition at line 12 of file SQLErrorParser.pm.

Member Function Documentation

◆ is_connection_lost()

public Bio::EnsEMBL::Hive::Utils::SQLErrorParser::is_connection_lost ( )
    Description: Return 1 if the error message indicates the connection has been closed without us asking
 
Code:
click to view

◆ is_deadlock()

public Bio::EnsEMBL::Hive::Utils::SQLErrorParser::is_deadlock ( )
    Description: Return 1 if the error message indicates the current transaction had to be aborted because
                 of concurrency issues
 
Code:
click to view

◆ is_server_too_busy()

public Bio::EnsEMBL::Hive::Utils::SQLErrorParser::is_server_too_busy ( )
    Description: Return 1 if the error message indicates we can't connect to the server because of a lack
                 of resources (incl. available connections)
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::Hive::Utils::SQLErrorParser::is_deadlock
public is_deadlock()
Bio::EnsEMBL::Hive::Utils::SQLErrorParser::is_server_too_busy
public is_server_too_busy()
Bio::EnsEMBL::Hive::Utils::timeout
public The timeout()
Bio::EnsEMBL::Hive::Utils::SQLErrorParser::is_connection_lost
public is_connection_lost()