Class ReadThroughCachingUserPropertySetFactory
java.lang.Object
com.atlassian.confluence.impl.propertyset.ReadThroughCachingUserPropertySetFactory
- All Implemented Interfaces:
- com.atlassian.user.properties.PropertySetFactory
public final class ReadThroughCachingUserPropertySetFactory
extends Object
implements com.atlassian.user.properties.PropertySetFactory
An implementation of 
PropertySetFactory which delegates to another PropertySetFactory, and which keeps
 the resulting PropertySets in a node-local cache. It also wraps those individual PropertySets in another
 caching layer.
 
 From 10.0, the returned PropertySets are read-only!
 
 This whole PropertySet thing is a massive shit-show, and needs to be taken behind the barn and shot.
- Since:
- 7.6
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptioncreate(com.atlassian.user.properties.PropertySetFactory delegate, com.atlassian.cache.CacheFactory cacheFactory) Create an instance for the given delegatePropertySetFactory.@Nullable com.opensymphony.module.propertyset.PropertySetgetPropertySet(com.atlassian.user.Entity entity) 
- 
Method Details- 
createpublic static ReadThroughCachingUserPropertySetFactory create(com.atlassian.user.properties.PropertySetFactory delegate, com.atlassian.cache.CacheFactory cacheFactory) Create an instance for the given delegatePropertySetFactory.The PropertySets returned by that delegate will be wrapped in aReadThroughCachingPropertySetpeior to being themselves cached.
- 
getPropertySetpublic @Nullable com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.user.Entity entity) - Specified by:
- getPropertySetin interface- com.atlassian.user.properties.PropertySetFactory
 
 
-