Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #14502
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Sebastian <sebastian@undisclosed.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Caching with timed expiry |
| Date | Sun, 13 May 2012 23:05:55 +0200 |
| Organization | albasani.net |
| Lines | 10 |
| Message-ID | <jop7nc$lsb$1@news.albasani.net> (permalink) |
| References | <joc4c0$2hm$1@news.albasani.net> <ydn3979kvz7.fsf@shell.xmission.com> <4fab77d3$0$6875$e4fe514c@news2.news.xs4all.nl> <viMqr.3102$TC4.1725@newsfe14.iad> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.albasani.net Sp2diCBkRbXeoMJHzM1RRa883K10cT6TKZpl66T6FMZ58beaxWo/c93fSGt6T9+WaRLwnQXKcI15iDJ9LNtP/w== |
| NNTP-Posting-Date | Sun, 13 May 2012 21:05:48 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="S/Bkl6IRZrhT7sMXYo1hfM2EhJaV/a4S/sGUGjvtdS6kzFuH3rd5BwRyZZxqDAzzX8fXaAkFjaXJbdVhjsm4Ska4MwgoH9AaVExplcLHZLS506Q7uO6WFTcg9Psa/PYH"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
| In-Reply-To | <viMqr.3102$TC4.1725@newsfe14.iad> |
| Cancel-Lock | sha1:CZ+0Z7Jp0T1b2ebUvOU/unN26/M= |
| Xref | csiph.com comp.lang.java.programmer:14502 |
Show key headers only | View raw
Thank you everyone for your help. Google Guava does
indeed do all I need:
Cache<ASN1Octet, LDAPConnection> connectionCache =
CacheBuilder.newBuilder()
.expireAfterAccess(2, TimeUnit.MINUTES)
.removalListener(MY_LISTENER)
.build();
-- Sebastian
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Caching with timed expiry Sebastian <sebastian@undisclosed.invalid> - 2012-05-08 23:48 +0200
Re: Caching with timed expiry Jim Janney <jjanney@shell.xmission.com> - 2012-05-09 13:14 -0600
Re: Caching with timed expiry Silvio Bierman <silvio@moc.com> - 2012-05-10 10:09 +0200
Re: Caching with timed expiry Jim Janney <jjanney@shell.xmission.com> - 2012-05-10 03:48 -0600
Re: Caching with timed expiry Silvio Bierman <silvio@moc.com> - 2012-05-10 12:56 +0200
Re: Caching with timed expiry Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-05-10 06:57 -0300
Re: Caching with timed expiry Sebastian <sebastian@undisclosed.invalid> - 2012-05-13 23:05 +0200
Re: Caching with timed expiry Roedy Green <see_website@mindprod.com.invalid> - 2012-05-09 14:43 -0700
Re: Caching with timed expiry Robert Klemme <shortcutter@googlemail.com> - 2012-05-14 23:47 +0200
Re: Caching with timed expiry Arne Vajhøj <arne@vajhoej.dk> - 2012-05-20 22:18 -0400
Re: Caching with timed expiry Paul Cager <paul.cager@googlemail.com> - 2012-05-09 13:09 -0700
csiph-web