public class SingleEntityCachingOfBizPropertyEntryStore extends CachingOfBizPropertyEntryStore
OfBizPropertyEntryStore.PropertyEntry
Constructor and Description |
---|
SingleEntityCachingOfBizPropertyEntryStore(String cacheName,
com.atlassian.cache.CacheSettings cacheSettings,
QueryDslAccessor queryDslAccessor,
com.atlassian.cache.CacheManager cacheManager,
boolean enableStats) |
SingleEntityCachingOfBizPropertyEntryStore(String cacheName,
QueryDslAccessor queryDslAccessor,
com.atlassian.cache.CacheManager cacheManager,
boolean enableStats)
Note that the returned implementation of
OfBizPropertyEntryStore contains a possibly (in Jira DC) replicated
cache for this specific entity, so an instance of this OfBizPropertyEntryStore must be a field in a singleton
service. |
createRemoveOperation, createSetOperation, exists, getEntry, getKeys, getKeys, getType, invalidateCacheEntry, refreshAll, removeEntry, removePropertySet, setEntry, validateEntityName
public SingleEntityCachingOfBizPropertyEntryStore(String cacheName, QueryDslAccessor queryDslAccessor, com.atlassian.cache.CacheManager cacheManager, boolean enableStats)
OfBizPropertyEntryStore
contains a possibly (in Jira DC) replicated
cache for this specific entity, so an instance of this OfBizPropertyEntryStore
must be a field in a singleton
service.
This cannot be created dynamically in reaction to some events other than the application / plugin starting (lifecycle).
This differs from the ComponentCachingOfBizPropertyEntryStore
component available in Jira core context that the
component version cache contains many different entity types which may have negative performance impact.
With the SingleEntityCachingOfBizPropertyEntryStore
you are getting a cache for this specific entity.public SingleEntityCachingOfBizPropertyEntryStore(String cacheName, com.atlassian.cache.CacheSettings cacheSettings, QueryDslAccessor queryDslAccessor, com.atlassian.cache.CacheManager cacheManager, boolean enableStats)
Copyright © 2002-2021 Atlassian. All Rights Reserved.