• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Fixed
  • ehcache-core
  • hsingh
  • Reporter: gkeim
  • March 30, 2011
  • 0
  • Watchers: 1
  • January 17, 2013
  • April 01, 2011

Description

/**
 * Puts an item into the store and the cache writer manager in an atomic operation
 * @return true if this is a new put for the key or element is null. Returns false if it was an update.
 */
boolean Store.putWithWriter()

CompoundStore.putWithWriter returns the opposite value– true if update

This results in no puts being registered in the statistics for a cache using a writer.

Comments

Chris Dennis 2011-03-31

Fixed this in trunk, will wait for it to get targeted in case it needs merging to other branches before I mark it fixed.

Steve Harris 2011-03-31

Since it’s a bug in core we should get it out in the first dot of ehcache 2.4

Fiona OShea 2011-04-01

Please merge to 2.4.x thanks

Chris Dennis 2011-04-01

Fixed

Himadri Singh 2011-04-20

dev-console shows put stats with ehcache-writebehind.