Skip to content

Releases: ben-manes/caffeine

2.0.3

20 Dec 04:29

Choose a tag to compare

JCache

  • Fixed statistics average operation time not being reported in microseconds
  • Fixed early expiration due to convertion into microseconds, not milliseconds (#40)
  • Ensured that events are fired in entry order by always being sent within the atomic block
  • Improved performance, largely by avoiding slow calls for the current time unless required

2.0.2

02 Dec 06:03

Choose a tag to compare

  • Fixed NPE due to improperly scheduled write task when the computation returns null (#35)

2.0.1

13 Nov 05:05

Choose a tag to compare

  • Fixed OSGi manifests (#33)

2.0.0

09 Nov 06:50

Choose a tag to compare

A major revision that includes API incompatible changes.

Cache

  • Replaced LRU with W-TinyLfu eviction policy
  • Inspect whether stats are enabled in the Policy
  • CacheLoader support for checked exceptions (rethrown as CompletionException)
  • RemovalListener now uses friendlier syntax for lambdas (removed RemovalNotification)
  • Avoid excessive scheduling of the maintenace task
  • Removed NonReentrantLock
  • Removed tracing packages

JCache

  • Renamed CopyStrategy to Copier

1.3.3

26 Sep 05:15

Choose a tag to compare

  • Cancel expiration when the entry has been resurrected (#30)

1.3.2

03 Sep 03:49

Choose a tag to compare

  • Fixed Map#put and Map#putIfAbsent to return null instead of the expired value (#26)

1.3.1

14 Jul 05:10

Choose a tag to compare

  • Fixed generated pom.xml that was causing Maven to not resolve transitive dependencies

1.3.0

13 Jul 00:40

Choose a tag to compare

SingleConsumerQueue

  • Promoted from @Beta

Cache

  • Added CacheWriter support
  • Improved expiration performance
  • Fixed expiration and reference caching bugs
  • Fixed caffeine distribution packaging in the tracer-api classes

JCache

  • Ensure eviction notifications are processed in-order

1.2.0

09 May 04:35

Choose a tag to compare

ConcurrentLinkedStack

  • Fixed poll to skip over lazily deleted nodes
  • Removed interior nodes are unlinked during traversal

Cache

  • Periodic maintenance work performed asynchronously when possible
  • Avoid false sharing of the maintenance trigger
  • Remove unnecessary store-store barriers

JCache

  • Fixes to lazy expiration to better match specification

Tracer

  • Data format moved to TraceEventFormats

1.1.0

18 Apr 16:05

Choose a tag to compare

SingleConsumer

  • Added combining backoff arena
  • Improved correctness with respect to Queue interface

ConcurrentLinkedStack

  • Replaces EliminationStack
  • Supports elimination and combining backoff strategies