[Biojava-l] proposal: clear LRUCache when connectToBioSQL is called

mark.schreiber at novartis.com mark.schreiber at novartis.com
Thu Jun 22 00:43:51 UTC 2006


I'm OK with this.





David Scott <david at autohandle.com>
Sent by: biojava-l-bounces at lists.open-bio.org
06/21/2006 11:47 PM

 
        To:     biojava-l at lists.open-bio.org
        cc:     (bcc: Mark Schreiber/GP/Novartis)
        Subject:        [Biojava-l] proposal: clear LRUCache when connectToBioSQL is called


if the RichObjectFactory is used standalone or used with another session 
- when a new session is started the cache may have invalid objects - the 
LRUCache can be cleared when the session is set.

public static void connectToBioSQL(Object session) {
   ...
   clearLRUCache();


_______________________________________________
Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biojava-l






More information about the Biojava-l mailing list