ensembl-hive
2.6
|
This is the adaptor for Bio::EnsEMBL::Hive::Beekeeper It contains all the beekeeper-management methods that are called by beekeeper.pl and requir the database.
Definition at line 13 of file BeekeeperAdaptor.pm.
public void Bio::EnsEMBL::Hive::DBSQL::BeekeeperAdaptor::block_all_alive_beekeepers | ( | ) |
Example :
Description : Set is_blocked for all beekeepers known to the pipeline which haven't died yet. Part of the "shut everything down" feature - as eHive stands we cannot tell other beekeepers to kill their respective active workers (unless said workers happen to belong to the same meadow, in which case we can essentially hijack them) but at least we can prevent them from spawning new workers. Returntype : none Exception : none Caller : beekeeper.pl Status : Stable
public void Bio::EnsEMBL::Hive::DBSQL::BeekeeperAdaptor::bury_other_beekeepers | ( | ) |
Arg[1] : Bio::EnsEMBL::Hive::Beekeeper $ref_beekeeper Example :
Description : Calls find_live_beekeepers_in_my_meadow() and buries the beekeepers that are not running any more (not find with `ps`) Returntype : none Exceptions : none Caller : general Status : Stable
public Bio::EnsEMBL::Hive::DBSQL::BeekeeperAdaptor::default_table_name | ( | ) |
Undocumented method
public Arrayref Bio::EnsEMBL::Hive::DBSQL::BeekeeperAdaptor::find_live_beekeepers_in_my_meadow | ( | ) |
Arg[1] : Bio::EnsEMBL::Hive::Beekeeper $ref_beekeeper Example :
Description : Returns all the beekeepers registered on the same host as $ref_beekeeper that are still alive. Returntype : Arrayref of Bio::EnsEMBL::Hive::Beekeeper Exceptions : none Caller : general Status : Stable
public Bio::EnsEMBL::Hive::DBSQL::BeekeeperAdaptor::object_class | ( | ) |
Undocumented method
public void Bio::EnsEMBL::Hive::DBSQL::BeekeeperAdaptor::reload_beekeeper_is_blocked | ( | ) |
Arg[1] : Bio::EnsEMBL::Hive::Beekeeper $beekeeper Example :
Description : Updates the object with the freshest value of is_blocked coming from the database for this beekeeper, and return the new value. Returntype : none Exceptions : none Caller : general Status : Stable