Package org.hibernate.cfg
Interface StatisticsSettings
-
public interface StatisticsSettings
-
-
Field Summary
Fields Modifier and Type Field Description static String
GENERATE_STATISTICS
When enabled, specifies that statistics should be collected.static String
QUERY_STATISTICS_MAX_SIZE
This setting controls the number ofQueryStatistics
entries that will be stored by the HibernateStatistics
object.static String
STATS_BUILDER
When statistics are enabled, names theStatisticsFactory
to use.
-
-
-
Field Detail
-
GENERATE_STATISTICS
static final String GENERATE_STATISTICS
When enabled, specifies that statistics should be collected.- See Also:
SessionFactoryBuilder.applyStatisticsSupport(boolean)
, Constant Field Values- Default Value:
false
-
STATS_BUILDER
static final String STATS_BUILDER
When statistics are enabled, names theStatisticsFactory
to use. Recognizes a class name as well as an instance ofStatisticsFactory
. Allows customization of how the Hibernate Statistics are collected.- See Also:
- Constant Field Values
-
QUERY_STATISTICS_MAX_SIZE
static final String QUERY_STATISTICS_MAX_SIZE
This setting controls the number ofQueryStatistics
entries that will be stored by the HibernateStatistics
object.The default value is 5000.
- Since:
- 5.4
- See Also:
Statistics.getQueries()
, Constant Field Values
-
-