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

public class DefaultQueryPlanCacheMaxSizeEvent extends ConfigurationPropertyEvent
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:
  • Constructor Details

    • DefaultQueryPlanCacheMaxSizeEvent

      public DefaultQueryPlanCacheMaxSizeEvent(int defaultQueryPlanCacheMaxSize)
      Instantiate a DefaultQueryPlanCacheMaxSizeEvent using 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

      public Event.Priority getPriority()
      Get the Event.Priority of this Event
      Returns:
      the Event.Priority of this Event
    • getDescription

      public String getDescription()
      Get the String description of this Event
      Returns:
      the String description of this Event