File tree Expand file tree Collapse file tree
src/main/clojure/clojure/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,22 +30,22 @@ core.cache is based on an old library named Clache that has been thoroughly depr
3030Releases and Dependency Information
3131========================================
3232
33- Latest stable release: 0.8.2
33+ Latest stable release: 1.0.0
3434
3535* [ All Released Versions] ( http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22core.cache%22 )
3636
3737* [ Development Snapshot Versions] ( https://oss.sonatype.org/index.html#nexus-search;gav~org.clojure~core.cache~~~ )
3838
3939[ Leiningen] ( https://github.com/technomancy/leiningen ) dependency information:
4040
41- [org.clojure/core.cache "0.8.2 "]
41+ [org.clojure/core.cache "1.0.0 "]
4242
4343[ Maven] ( http://maven.apache.org/ ) dependency information:
4444
4545 <dependency>
4646 <groupId>org.clojure</groupId>
4747 <artifactId>core.cache</artifactId>
48- <version>0.8.2 </version>
48+ <version>1.0.0 </version>
4949 </dependency>
5050
5151
Original file line number Diff line number Diff line change 22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
33 <modelVersion >4.0.0</modelVersion >
44 <artifactId >core.cache</artifactId >
5- <version >0.8.3 -SNAPSHOT</version >
5+ <version >1.0.0 -SNAPSHOT</version >
66 <name >core.cache</name >
77 <description >Cache library for Clojure.</description >
88
Original file line number Diff line number Diff line change 660660 (clojure.core.cache/seed (SoftCache. (ConcurrentHashMap. ) (ConcurrentHashMap. ) (ReferenceQueue. ))
661661 base))
662662
663- (comment
664-
665- (def C (-> {:a 1 :b 2 }
666- (fifo-cache-factory :threshold 2 )
667- (ttl-cache-factory :ttl 5000 )))
668-
669- (assoc C :c 42 )
670- ; ;=> {:b 2, :c 42}
671-
672- ; ; wait 5 seconds
673-
674- (assoc C :d 138 ))
675- ; ;=> {:d 138}
You can’t perform that action at this time.
0 commit comments