I'm OK with this.




David Scott <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
06/21/2006 11:47 PM

 
        To:     [email protected]
        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  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l



_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l

Reply via email to