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