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 being called.
A RegionFactory may be selected using the property
hibernate.cache.region.factory_class.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public DomainDataRegion | buildDomainDataRegion(DomainDataRegionConfig
The user requested caching configuration for this Region regionConfig, DomainDataRegionBuildingContext Access to delegates useful in building the Region buildingContext)Create a named |
| public QueryResultsRegion | buildQueryResultsRegion(String regionName, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
Create a named SessionFactoryImplementor being deprecated.
Region for holding query result sets.
|
| public TimestampsRegion | buildTimestampsRegion(String regionName, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
Create a named SessionFactoryImplementor being deprecated.
Region for holding timestamps used to
determine when a cached query result set is stale.
|
| public default CacheTransactionSynchronization | |
| public AccessType | |
| public default long | |
| public boolean | Returns: True if "minimal puts" should be performed by default; false otherwise.By default, should we perform "minimal puts" when using this second level cache implementation? |
| public long | |
| public String | |
| public void | start(SessionFactoryOptions
The settings in effect. settings, Map<String, Object> The available config values configValues)Lifecycle callback to perform any necessary initialization of the underlying cache provider. |
| DEFAULT_QUERY_RESULTS_REGION_UNQUALIFIED_NAME | back to summary |
|---|---|
| public static final String DEFAULT_QUERY_RESULTS_REGION_UNQUALIFIED_NAME | |
| DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME | back to summary |
|---|---|
| public static final String DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME | |
| buildDomainDataRegion | back to summary |
|---|---|
| public DomainDataRegion buildDomainDataRegion(DomainDataRegionConfig regionConfig, DomainDataRegionBuildingContext buildingContext) Create a named
| |
| buildQueryResultsRegion | back to summary |
|---|---|
| public QueryResultsRegion buildQueryResultsRegion(String regionName, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of Create a named | |
| buildTimestampsRegion | back to summary |
|---|---|
| public TimestampsRegion buildTimestampsRegion(String regionName, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of Create a named | |
| createTransactionContext | back to summary |
|---|---|
| public default CacheTransactionSynchronization createTransactionContext(SharedSessionContractImplementor session) | |
| getDefaultAccessType | back to summary |
|---|---|
| public AccessType getDefaultAccessType() Get the default access type for any "user model" data. | |
| getTimeout | back to summary |
|---|---|
| public default long getTimeout() | |
| isMinimalPutsEnabledByDefault | back to summary |
|---|---|
| public boolean isMinimalPutsEnabledByDefault() By default, should we perform "minimal puts" when using this second level cache implementation?
| |
| nextTimestamp | back to summary |
|---|---|
| public long nextTimestamp() Generate a timestamp. This value is generally used for purpose of
locking/unlocking cache content depending upon the access strategy
being used. It's also expected that this be the value used by the
API Note This "timestamp" need not be related to timestamp in the
| |
| qualify | back to summary |
|---|---|
| public String qualify(String regionName) | |
| start | back to summary |
|---|---|
| public void start(SessionFactoryOptions settings, Map<String, Object> configValues) throws CacheException Lifecycle callback to perform any necessary initialization of
the underlying cache provider. Called exactly once during the
construction of a
| |