ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [28/32] ignite git commit: IGNITE-473 - Fixed HibernateL2CacheExample output
Date Mon, 22 Aug 2016 07:37:24 GMT
IGNITE-473 - Fixed HibernateL2CacheExample output


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7422195f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7422195f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7422195f

Branch: refs/heads/ignite-3220-1
Commit: 7422195f17df2c69a98eeed202f14eea80ad70b4
Parents: 9db16d1
Author: Valentin Kulichenko <valentin.lulichenko@gmail.com>
Authored: Fri Aug 19 16:53:40 2016 -0700
Committer: Valentin Kulichenko <valentin.lulichenko@gmail.com>
Committed: Fri Aug 19 16:53:40 2016 -0700

----------------------------------------------------------------------
 .../examples/datagrid/hibernate/HibernateL2CacheExample.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7422195f/examples/src/main/java-lgpl/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java-lgpl/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExample.java
b/examples/src/main/java-lgpl/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExample.java
index 4f399fb..a31d394 100644
--- a/examples/src/main/java-lgpl/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExample.java
+++ b/examples/src/main/java-lgpl/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExample.java
@@ -251,7 +251,7 @@ public class HibernateL2CacheExample {
             SecondLevelCacheStatistics stats =
                 sesFactory.getStatistics().getSecondLevelCacheStatistics(entityName);
 
-            System.out.println("\t\tL2 cache entries: " + stats.getEntries());
+            System.out.println("\t\tPuts: " + stats.getPutCount());
             System.out.println("\t\tHits: " + stats.getHitCount());
             System.out.println("\t\tMisses: " + stats.getMissCount());
         }


Mime
View raw message