Class DistributedCacheInvalidationCounter<M>


  • @Deprecated
    public abstract class DistributedCacheInvalidationCounter<M>
    extends Object
    Deprecated.
    since 7.6 no replacement
    Responsible for counting distributed cache invalidation messages published on Hazelcast 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.
    See Also:
    HazelcastTopicMessageRouter
    • Constructor Detail

      • DistributedCacheInvalidationCounter

        public DistributedCacheInvalidationCounter​(HazelcastTopicMessageRouter messageRouter,
                                                   io.micrometer.core.instrument.MeterRegistry meterRegistry,
                                                   com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
        Deprecated.
    • Method Detail

      • registerForTenantArrivalEvent

        @PostConstruct
        public void registerForTenantArrivalEvent()
        Deprecated.
      • unregisterFromEvents

        @PreDestroy
        public void unregisterFromEvents()
        Deprecated.
      • onTenantArrived

        @EventListener
        public void onTenantArrived​(com.atlassian.tenancy.api.event.TenantArrivedEvent event)
        Deprecated.
      • getInvalidationTopicNames

        protected abstract Stream<String> getInvalidationTopicNames()
        Deprecated.
      • cacheType

        protected abstract String cacheType()
        Deprecated.
      • getCacheName

        protected abstract String getCacheName​(String topicName)
        Deprecated.