ensembl-hive  2.1
 All Classes Namespaces Files Functions Pages
Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor Class Reference
+ Inheritance diagram for Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor:
+ Collaboration diagram for Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor:

Public Member Functions

public default_table_name ()
 
public default_input_column_mapping ()
 
public object_class ()
 
public fetch_all_by_suitability_rc_id_meadow_type ()
 
public
Bio::EnsEMBL::Hive::AnalysisStats 
refresh ()
 
public Bio::EnsEMBL::Hive::Worker update ()
 
public update_status ()
 
public interval_update_work_done ()
 
public increase_running_workers ()
 
public decrease_running_workers ()
 
public decrease_required_workers ()
 
public increase_required_workers ()
 
- 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 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 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 store ()
 
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.

Member Function Documentation

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

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::decrease_running_workers ( )

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::default_input_column_mapping ( )

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::default_table_name ( )

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::fetch_all_by_suitability_rc_id_meadow_type ( )

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::increase_required_workers ( )

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::increase_running_workers ( )

Undocumented method

Code:
click to view
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
public Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::object_class ( )

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::AnalysisStats Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::refresh ( )
  Arg [1]    : Bio::EnsEMBL::Hive::AnalysisStats object
  Description: reload the AnalysisStats object from the database
  Returntype : Bio::EnsEMBL::Hive::AnalysisStats object - same one with reloaded data
 
Code:
click to view
public Bio::EnsEMBL::Hive::Worker Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor::update ( )
  Arg [1]    : Bio::EnsEMBL::Hive::AnalysisStats object
  Example    :
  Description:
  Returntype : Bio::EnsEMBL::Hive::Worker
  Exceptions :
  Caller     :
 
Code:
click to view
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: