Class DefaultQueryPlanCacheMaxSizeEvent
java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.hibernate.event.configuration.ConfigurationPropertyEvent
io.hypersistence.optimizer.hibernate.event.configuration.query.DefaultQueryPlanCacheMaxSizeEvent
- All Implemented Interfaces:
Event,Serializable
The
DefaultQueryPlanCacheMaxSizeEvent indicates that the current application
is not using the hibernate.query.plan_cache_max_size configuration property.
For Hibernate 3, the property is called hibernate.query.plan_cache_max_soft_references instead.- Since:
- 2.4.0
- Author:
- Vlad Mihalcea
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.hypersistence.optimizer.core.event.Event
Event.Priority -
Constructor Summary
ConstructorsConstructorDescriptionDefaultQueryPlanCacheMaxSizeEvent(int defaultQueryPlanCacheMaxSize) Instantiate aDefaultQueryPlanCacheMaxSizeEventusing the provided JDBC Statement fetch size and optimal strategy. -
Method Summary
Modifier and TypeMethodDescriptionintGet the default query place cache max size.Get theEvent.Priorityof thisEventMethods inherited from class io.hypersistence.optimizer.hibernate.event.configuration.ConfigurationPropertyEvent
getConfigurationPropertyMethods inherited from class io.hypersistence.optimizer.core.event.AbstractEvent
getInfoUrl
-
Constructor Details
-
DefaultQueryPlanCacheMaxSizeEvent
public DefaultQueryPlanCacheMaxSizeEvent(int defaultQueryPlanCacheMaxSize) Instantiate aDefaultQueryPlanCacheMaxSizeEventusing the provided JDBC Statement fetch size and optimal strategy.- Parameters:
defaultQueryPlanCacheMaxSize- default query place cache max size
-
-
Method Details
-
getDefaultQueryPlanCacheMaxSize
public int getDefaultQueryPlanCacheMaxSize()Get the default query place cache max size.- Returns:
- the default query place cache max size
-
getPriority
Get theEvent.Priorityof thisEvent- Returns:
- the
Event.Priorityof thisEvent
-
getDescription
-