public class HibernateStatsReporter extends Object implements ScheduledTask
Constructor and Description |
---|
HibernateStatsReporter(javax.persistence.EntityManagerFactory emf) |
Modifier and Type | Method and Description |
---|---|
protected void |
logCollections(StringBuilder builder,
String lineSep,
org.hibernate.stat.Statistics stats) |
protected void |
logEntities(StringBuilder builder,
String lineSep,
org.hibernate.stat.Statistics stats) |
protected void |
logQueries(StringBuilder builder,
String lineSep,
org.hibernate.stat.Statistics stats) |
protected void |
logStats(org.hibernate.stat.Statistics stats) |
void |
run(KeycloakSession session) |
public HibernateStatsReporter(javax.persistence.EntityManagerFactory emf)
public void run(KeycloakSession session)
run
in interface ScheduledTask
protected void logStats(org.hibernate.stat.Statistics stats)
protected void logEntities(StringBuilder builder, String lineSep, org.hibernate.stat.Statistics stats)
protected void logCollections(StringBuilder builder, String lineSep, org.hibernate.stat.Statistics stats)
protected void logQueries(StringBuilder builder, String lineSep, org.hibernate.stat.Statistics stats)
Copyright © 2021 JBoss by Red Hat. All rights reserved.