I have a couple of questions about Atlassian Cache in Jira DC.
- When a plugin is loading some data on one node into cache, does it trigger the same action on other nodes? Or cache loading in independent?
- If we have a cache with timed expiration like below, I get that .remove() operation are replicated between nodes. But what happens when cache is evicted due to time expiration? Is this replicated as well?
cacheManager.getCache( getClass().getName() + ".cache", this::loadValueForKey, new CacheSettingsBuilder() .remote() .expireAfterAccess(30, TimeUnit.MINUTES) .replicateViaInvalidation() .build() // replicated via invalidation );