@Deprecated public abstract class DistributedCacheInvalidationCounter<M> extends Object
ITopics, using Micrometer.
This is an abstract class, and subclasses are responsible for determining which topics are used, and how to decode
the messages on them.HazelcastTopicMessageRouter| Modifier and Type | Class and Description |
|---|---|
protected static class |
DistributedCacheInvalidationCounter.InvalidationType
Deprecated.
|
| Constructor and Description |
|---|
DistributedCacheInvalidationCounter(HazelcastTopicMessageRouter messageRouter,
io.micrometer.core.instrument.MeterRegistry meterRegistry,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
cacheType()
Deprecated.
|
static DistributedCacheInvalidationCounter<Object> |
forAtlassianCache(com.atlassian.cache.CacheManager cacheManager,
HazelcastTopicMessageRouter messageRouter,
io.micrometer.core.instrument.MeterRegistry meterRegistry,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
Deprecated.
since 7.6 no replacement
|
static DistributedCacheInvalidationCounter<com.hazelcast.hibernate.local.Invalidation> |
forHibernateL2CacheRegions(org.hibernate.SessionFactory sessionFactory,
HazelcastTopicMessageRouter messageRouter,
io.micrometer.core.instrument.MeterRegistry meterRegistry,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
Deprecated.
since 7.6 no replacement
|
protected abstract String |
getCacheName(String topicName)
Deprecated.
|
protected abstract Stream<String> |
getInvalidationTopicNames()
Deprecated.
|
protected abstract DistributedCacheInvalidationCounter.InvalidationType |
invalidationType(M message)
Deprecated.
|
void |
onTenantArrived(com.atlassian.tenancy.api.event.TenantArrivedEvent event)
Deprecated.
|
void |
registerForTenantArrivalEvent()
Deprecated.
|
void |
unregisterFromEvents()
Deprecated.
|
public DistributedCacheInvalidationCounter(HazelcastTopicMessageRouter messageRouter, io.micrometer.core.instrument.MeterRegistry meterRegistry, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
@PostConstruct public void registerForTenantArrivalEvent()
@PreDestroy public void unregisterFromEvents()
@EventListener public void onTenantArrived(com.atlassian.tenancy.api.event.TenantArrivedEvent event)
protected abstract String cacheType()
protected abstract DistributedCacheInvalidationCounter.InvalidationType invalidationType(M message)
@Deprecated public static DistributedCacheInvalidationCounter<com.hazelcast.hibernate.local.Invalidation> forHibernateL2CacheRegions(org.hibernate.SessionFactory sessionFactory, HazelcastTopicMessageRouter messageRouter, io.micrometer.core.instrument.MeterRegistry meterRegistry, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
DistributedCacheInvalidationCounter that counts invalidations published by LocalRegionCache
via HazelcastHibernateRegionFactory.@Deprecated public static DistributedCacheInvalidationCounter<Object> forAtlassianCache(com.atlassian.cache.CacheManager cacheManager, HazelcastTopicMessageRouter messageRouter, io.micrometer.core.instrument.MeterRegistry meterRegistry, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
DistributedCacheInvalidationCounter that counts invalidations published by HazelcastAsyncHybridCache.Copyright © 2003–2021 Atlassian. All rights reserved.