ensembl-hive  2.5
Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor Class Reference
+ Inheritance diagram for Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor:

Public Member Functions

public default_table_name ()
 
public default_input_column_mapping ()
 
public do_not_update_columns ()
 
public object_class ()
 
public objectify ()
 
public update_stats_and_monitor ()
 
public update_status ()
 
public interval_update_work_done ()
 
public increment_a_counter ()
 
- Public Member Functions inherited from Bio::EnsEMBL::Hive::DBSQL::ObjectAdaptor
public object_class ()
 
public slicer ()
 
public objectify ()
 
public mark_stored ()
 
public keys_to_columns ()
 
public The refresh ()
 
- Public Member Functions inherited from Bio::EnsEMBL::Hive::DBSQL::BaseAdaptor
public default_table_name ()
 
public default_insertion_method ()
 
public default_overflow_limit ()
 
public default_input_column_mapping ()
 
public do_not_update_columns ()
 
public new ()
 
public db ()
 
public dbc ()
 
public prepare ()
 
public overflow_limit ()
 
public input_column_mapping ()
 
public table_name ()
 
public insertion_method ()
 
public column_set ()
 
public primary_key ()
 
public updatable_column_list ()
 
public autoinc_id ()
 
protected _table_info_loader ()
 
public count_all ()
 
public fetch_all ()
 
public primary_key_constraint ()
 
public fetch_by_dbID ()
 
public remove_all ()
 
public remove ()
 
public update ()
 
public store_or_update_one ()
 
public check_object_present_in_db_by_content ()
 
public class_specific_execute ()
 
public store ()
 
protected _multi_column_filter ()
 
public DESTROY ()
 
public AUTOLOAD ()
 

Detailed Description

Synopsis

$analysisStatsAdaptor = $db_adaptor->get_AnalysisStatsAdaptor;
$analysisStatsAdaptor = $analysisStats->adaptor;

Description

    Module to encapsulate all db access for persistent class AnalysisStats.
    There should be just one per application and database connection.

Definition at line 18 of file AnalysisStatsAdaptor.pm.

Member Function Documentation

◆ default_input_column_mapping()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::default_input_column_mapping ( )

Undocumented method

Code:
click to view

◆ default_table_name()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::default_table_name ( )

Undocumented method

Code:
click to view

◆ do_not_update_columns()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::do_not_update_columns ( )

Undocumented method

Code:
click to view

◆ increment_a_counter()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::increment_a_counter ( )

Undocumented method

Code:
click to view

◆ interval_update_work_done()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::interval_update_work_done ( )
  Arg [1]     : int $analysis_id
  Arg [2]     : int $jobs_done_in_interval
  Arg [3]     : int $interval_msec
  Arg [4]     : int $fetching_msec
  Arg [5]     : int $running_msec
  Arg [6]     : int $writing_msec
  Arg [7]     : real $weight_factor [optional]
  Example     :
$statsDBA->interval_update_work_done($analysis_id, $jobs_done, $interval_msec, $fetching_msec, $running_msec, $writing_msec);
  Description : does a database update to recalculate the avg_msec_per_job and done_job_count
                does an interval equation by multiplying out the previous done_job_count with the
                previous avg_msec_per_job and then expanding by new interval values to give a better average.
  Caller      : Bio::EnsEMBL::Hive::Worker
 
Code:
click to view

◆ object_class()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::object_class ( )

Undocumented method

Code:
click to view

◆ objectify()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::objectify ( )

Undocumented method

Code:
click to view

◆ update_stats_and_monitor()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::update_stats_and_monitor ( )

Undocumented method

Code:
click to view

◆ update_status()

public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::update_status ( )

Undocumented method

Code:
click to view

The documentation for this class was generated from the following file: