[hibernate-commits] [hibernate/hibernate-orm] 55de90: HHH-7256 Use minimalPuts in Infinispan
GitHub
noreply at github.com
Tue Apr 17 13:50:57 EDT 2012
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 55de90ec42c9711be59f99ac2b0eb4dbcd4318f5
https://github.com/hibernate/hibernate-orm/commit/55de90ec42c9711be59f99ac2b0eb4dbcd4318f5
Author: Galder Zamarreño <galder at zamarreno.com>
Date: 2012-04-17 (Tue, 17 Apr 2012)
Changed paths:
M hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/TransactionalAccessDelegate.java
Log Message:
-----------
HHH-7256 Use minimalPuts in Infinispan
putFromLoad now checks for minimalPuts to verify whether the entry
is already present in the cache. By doing this, Hibernate stats
appear more precise since putForExternalReads that are no-op because
the cache already contains the entry are not counted as puts. This
avoids confusion amongst users. This should be reverted to checking
PFER's return value when https://issues.jboss.org/browse/ISPN-1986
has been implemented.
More information about the hibernate-commits
mailing list