com.atlassian.confluence.impl.cache.hibernate.HazelcastIMapRegionFactoryWrapper
and QueryCacheSplitBrainDetector
@Deprecated @Internal public class HazelcastHibernateRegionFactory extends Object implements org.hibernate.cache.spi.RegionFactory, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
HazelcastHibernateRegionFactory(ClusterManager clusterManager,
com.atlassian.util.concurrent.Supplier<com.hazelcast.core.HazelcastInstance> hazelcastSupplier,
com.atlassian.cache.CacheManager cacheManager,
com.atlassian.event.api.EventPublisher eventPublisher,
org.hibernate.SessionFactory sessionFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
org.hibernate.cache.spi.CollectionRegion |
buildCollectionRegion(String regionName,
Properties properties,
org.hibernate.cache.spi.CacheDataDescription metadata)
Deprecated.
|
org.hibernate.cache.spi.EntityRegion |
buildEntityRegion(String regionName,
Properties properties,
org.hibernate.cache.spi.CacheDataDescription metadata)
Deprecated.
|
org.hibernate.cache.spi.NaturalIdRegion |
buildNaturalIdRegion(String regionName,
Properties properties,
org.hibernate.cache.spi.CacheDataDescription metadata)
Deprecated.
|
org.hibernate.cache.spi.QueryResultsRegion |
buildQueryResultsRegion(String regionName,
Properties properties)
Deprecated.
|
org.hibernate.cache.spi.TimestampsRegion |
buildTimestampsRegion(String regionName,
Properties properties)
Deprecated.
|
void |
destroy()
Deprecated.
|
org.hibernate.cache.spi.access.AccessType |
getDefaultAccessType()
Deprecated.
|
protected String |
initHazelcastMap(String regionName)
Deprecated.
|
boolean |
isMinimalPutsEnabledByDefault()
Deprecated.
|
long |
nextTimestamp()
Deprecated.
|
void |
onTenantArriveEvent(com.atlassian.tenancy.api.event.TenantArrivedEvent event)
Deprecated.
|
void |
start(org.hibernate.boot.spi.SessionFactoryOptions settings,
Properties properties)
Deprecated.
|
void |
stop()
Deprecated.
|
public HazelcastHibernateRegionFactory(ClusterManager clusterManager, com.atlassian.util.concurrent.Supplier<com.hazelcast.core.HazelcastInstance> hazelcastSupplier, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher, org.hibernate.SessionFactory sessionFactory)
public void start(org.hibernate.boot.spi.SessionFactoryOptions settings, Properties properties) throws org.hibernate.cache.CacheException
start
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public void stop()
stop
in interface org.hibernate.cache.spi.RegionFactory
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface org.hibernate.cache.spi.RegionFactory
public org.hibernate.cache.spi.access.AccessType getDefaultAccessType()
getDefaultAccessType
in interface org.hibernate.cache.spi.RegionFactory
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.spi.RegionFactory
public org.hibernate.cache.spi.EntityRegion buildEntityRegion(String regionName, Properties properties, org.hibernate.cache.spi.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildEntityRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.NaturalIdRegion buildNaturalIdRegion(String regionName, Properties properties, org.hibernate.cache.spi.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildNaturalIdRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.CollectionRegion buildCollectionRegion(String regionName, Properties properties, org.hibernate.cache.spi.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildCollectionRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildQueryResultsRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildTimestampsRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
@EventListener public void onTenantArriveEvent(com.atlassian.tenancy.api.event.TenantArrivedEvent event)
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Copyright © 2003–2023 Atlassian. All rights reserved.