@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics( getEntityManagerFactory( args ) ); return Long.valueOf( statistics != null ? statistics.getSuccessfulTransactionCount() : 0 ); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
json.put("StartTime", statistics.getStartTime()); json.put("SecondLevelCacheRegionNames", statistics.getSecondLevelCacheRegionNames()); json.put("SuccessfulTransactionCount", statistics.getSuccessfulTransactionCount()); json.put("TransactionCount", statistics.getTransactionCount()); json.put("PrepareStatementCount", statistics.getPrepareStatementCount());
@Override public double getValue(Statistics statistics) { return statistics.getSuccessfulTransactionCount(); } }
/** * {@inheritDoc} * * @see net.sf.ehcache.hibernate.management.api.HibernateStats#getSuccessfulTransactionCount() */ public long getSuccessfulTransactionCount() { return getStatistics().getSuccessfulTransactionCount(); }
public long getSuccessfulTransactionCount() { return stats.getSuccessfulTransactionCount(); } public long getTransactionCount() {
public long getSuccessfulTransactionCount() { return stats.getSuccessfulTransactionCount(); } public long getTransactionCount() {
public long getSuccessfulTransactionCount() { return stats.getSuccessfulTransactionCount(); } public long getTransactionCount() {
/** * {@inheritDoc} * * @see net.sf.ehcache.hibernate.management.api.HibernateStats#getSuccessfulTransactionCount() */ public long getSuccessfulTransactionCount() { return getStatistics().getSuccessfulTransactionCount(); }
/** * {@inheritDoc} * * @see net.sf.ehcache.hibernate.management.api.HibernateStats#getSuccessfulTransactionCount() */ public long getSuccessfulTransactionCount() { return getStatistics().getSuccessfulTransactionCount(); }
@Override void handle(final ModelNode response, final String name, ManagementLookup stats, OperationContext context) { response.set(stats.getStatistics().getSuccessfulTransactionCount()); } });
/** * {@inheritDoc} * * @see net.sf.ehcache.hibernate.management.api.HibernateStats#getSuccessfulTransactionCount() */ public long getSuccessfulTransactionCount() { return getStatistics().getSuccessfulTransactionCount(); }
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };
@Override public Object invoke(Object... args) { org.hibernate.stat.Statistics statistics = getStatistics(getEntityManagerFactory(args)); return Long.valueOf(statistics != null ? statistics.getSuccessfulTransactionCount() : 0); } };