public final class CacheInvalidatorFactory extends Object implements AutoCloseable
CacheInvalidators for a given Cache, as well managing the sequence snapshot process.| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
CLoses all resources maintained by this object, including deregistration of all topic listeners. 
 | 
static CacheInvalidatorFactory | 
create(com.hazelcast.core.HazelcastInstance hazelcast,
      Function<String,String> topicNamePrefixer,
      Observability observability)  | 
<K extends Serializable,V> | 
createCacheInvalidator(com.atlassian.cache.Cache<K,V> atlassianCache)
Creates a  
CacheInvalidator for the given com.atlassian.cache.Cache. | 
void | 
publishSequenceSnapshot()
Builds a snapshot of the current invalidation sequence numbers for every cache, and publishes them to the other nodes. 
 | 
public static CacheInvalidatorFactory create(com.hazelcast.core.HazelcastInstance hazelcast, Function<String,String> topicNamePrefixer, Observability observability)
CacheInvalidatorFactory for the given HazelcastInstance.public void close()
close in interface AutoCloseablepublic void publishSequenceSnapshot()
public <K extends Serializable,V> CacheInvalidator<K> createCacheInvalidator(com.atlassian.cache.Cache<K,V> atlassianCache)
CacheInvalidator for the given com.atlassian.cache.Cache.Copyright © 2003–2021 Atlassian. All rights reserved.