Interface RegionFactory

All Superinterfaces:
Serializable, Service, Stoppable
All Known Implementing Classes:
AbstractRegionFactory, RegionFactoryTemplate

public interface RegionFactory extends Service, Stoppable
Contract for building second-level cache regions, including regions dedicated to storing:

Implementors should define a constructor in one of two forms:

  • MyRegionFactoryImpl(java.util.Properties)
  • MyRegionFactoryImpl()

Use the first when we need to read config properties prior to start(SessionFactoryOptions, Map) being called.

A RegionFactory may be selected using the property "hibernate.cache.region.factory_class".