Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 27, 2011
  1. @bmabey
Commits on May 18, 2011
  1. @Raynes

    Don't truncate.

    Raynes committed
  2. @Raynes

    Added .cake to .gitignore.

    Raynes committed
  3. @Raynes

    Added Masai support.

    Raynes committed
  4. @bmabey
Commits on May 12, 2011
  1. @bmabey
  2. @bmabey
  3. @bmabey

    removes flushing of ehcaches on shutdown - this is done already by eh…

    bmabey committed
    The CacheManager shutdown methods calls dispose on all of the caches
    which flushes the caches.  For more information:
  4. @bmabey
  5. @bmabey
Commits on May 10, 2011
  1. @bmabey
  2. @bmabey
  3. @bmabey
  4. @bmabey

    bumps version for ehcache

    bmabey committed
  5. @bmabey
  6. @bmabey

    excludes log4j from ehcache jar

    bmabey committed
  7. @bmabey

    fixes (lack of) serialization of key for ehcache, adds type hinting, …

    bmabey committed
    …and fixes a test
    The type hinting was only added on the calls that are used repeatedly in
    general caching operations.  These should be as fast as possible....
    The test fixed was cached-names... It was fine until I added more caches
    and then the test broke.  The test was relying on internal state of the
    default CacheManager and would thereby be effected by all the other
    tests.  So, I created a new manager jusr for that one test so it won't
    break everytime a new cache is used in the test.  (A better approach probably
    would be to reset the default cache manager for each test)
  8. @bmabey

    let, if -> if-let

    bmabey committed
  9. @bmabey
  10. @bmabey
  11. @bmabey
  12. @bmabey

    fixes to-camel-case bug that was effecting the values of the xml, not…

    bmabey committed
    … just keys
    This bug was breaking tests for me beauase my tmp folder had dashed in
    them.  We really shoudn't be changing the values provided by the user
  13. @bmabey
  14. @bmabey
  15. @bmabey

    bumping to 0.4.0-SNAPSHOT.. (there are some failing tests)

    bmabey committed
    There were no dependencies specified
    Copying 3 files to /private/tmp/cache-dot-clj/lib/dev
    Testing cache-dot-clj.test.cache
    FAIL in (invalidate-all-external) (cache.clj:23)
      Second call (50) hits function
      expected: (check msecs t)
        actual: false
        FAIL in (invalidate-all-external) (cache.clj:23)
      Second call (51) hits function
      expected: (check msecs t)
        actual: false
        Ran 21 tests containing 230 assertions.
        2 failures, 0 errors.
  16. @bmabey

    adds support for transient caches that can be GCed

    bmabey committed
    Previous to this commit all caches were assumed to be resident in memory
    for the entire lifetime of the process.  This makes since when you are
    using def-cached or similar.  With this assumption it was safe to store
    all the caches in the internal function-utils* atom.  This allowed for
    easy invalidation of all defiened caches.
    However, for temporary caches that are bound in a let or binding form you
    do not want these caches to stick around after there lexical scopiing.
    This commit allows the client to specify if a cache is intended to be
    transient and thereby won't be added to the function-utils* atom.
    This is an okay workaround, but not an ideal solution.  The ideal
    solution would be to not force this extra call onto the client but to
    always add the caches to function-utils* to keep the API consistent.
    Instead of storing the objects, WeakReferences would need to be
    used so that the caches would be GCed as normal.  I found this SO thread
    about similar issues and Google' collections library was brought up as a
    good option for this type of work:
  17. @bmabey

    adds basic gitignore file

    bmabey committed
  18. @bmabey

    adds :cache-key function option

    bmabey committed
    The majority of the time the standard behaviour of using the args as the
    cache key is fine.  However, for complex args (e.g. args which contain
     Java objects that break identity) you may need to specify how a unique
    cache key is to be generated from the args.  (You may also want to do
    this for storage/performance reasons.)  This commit gives you the
    ability to specify a cach-key function that operates on the same args
    which the value is computed from.
Commits on Apr 30, 2011
Commits on Apr 29, 2011
Commits on Apr 22, 2011
  1. Keep existing LRU

    Marked java collection as mutable. Added new strategy to README.
Commits on Mar 16, 2011
Commits on Oct 1, 2010
  1. Release 0.0.3

Commits on Sep 30, 2010
  1. Started on Ehcache README

Something went wrong with that request. Please try again.