You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2016/08/26 09:16:21 UTC
[17/50] ignite git commit: IGNITE-473 - Fixed HibernateL2CacheExample
output
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-3443
Commit: 7422195f17df2c69a98eeed202f14eea80ad70b4
Parents: 9db16d1
Author: Valentin Kulichenko <va...@gmail.com>
Authored: Fri Aug 19 16:53:40 2016 -0700
Committer: Valentin Kulichenko <va...@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());
}