Bio::DB::GFF::Adaptor
ace
Toolbar
Summary
Bio::DB::GFF::Adaptor::ace -- ace interface (for multiple inheritance)
Package variables
No package variables defined.
Included modules
Synopsis
Description
No description!
Methods
Methods description
Title : freshen Usage : $flag = Bio::DB::GFF->freshen_ace; Function: Refresh internal acedb handle Returns : flag if correctly freshened Args : none Status : Public
ACeDB has an annoying way of timing out, leaving dangling database handles. This method will invoke the ACeDB reopen() method, which causes dangling handles to be refreshed. It has no effect if you are not using ACeDB to create ACeDB objects. |
Methods code
sub acedb
{ my $self = shift;
my $d = $self->{acedb};
$self->{acedb} = shift if @_;
$d; } |
sub dna_db
{ my $self = shift;
my $d = $self->{dna_db};
$self->{dna_db} = shift if @_;
$d; } |
sub freshen_ace
{ my $acedb = shift->acedb or return;
$acedb->reopen();
}
1; } |
General documentation
Lincoln Stein <lstein@cshl.org>.
Copyright (c) 2002 Cold Spring Harbor Laboratory.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.