Class DbBackedNotCachedPropertySetManager
java.lang.Object
com.atlassian.jira.config.properties.DbBackedNotCachedPropertySetManager
- All Implemented Interfaces:
BackingPropertySetManager,DbBackedPropertySetManager
public class DbBackedNotCachedPropertySetManager
extends Object
implements DbBackedPropertySetManager
-
Constructor Summary
ConstructorsConstructorDescriptionDbBackedNotCachedPropertySetManager(ApplicationPropertiesManager applicationPropertiesManager) -
Method Summary
Modifier and TypeMethodDescriptionSupplier<? extends com.opensymphony.module.propertyset.PropertySet> voidrefresh()refresh the underlying property set - this can also cause properties to be lost if the PropertySet has not been written to a backing storevoidIf the backing property set supports switching to different backing storage, then switch - otherwise noop For now the switch is one way
-
Constructor Details
-
DbBackedNotCachedPropertySetManager
public DbBackedNotCachedPropertySetManager(ApplicationPropertiesManager applicationPropertiesManager)
-
-
Method Details
-
getManager
- Specified by:
getManagerin interfaceBackingPropertySetManager- Returns:
- the
Supplierthat references the underlying application properties manager
-
getPropertySetSupplier
- Specified by:
getPropertySetSupplierin interfaceBackingPropertySetManager- Returns:
- the
Supplierthat references the underlying property set
-
refresh
public void refresh()Description copied from interface:BackingPropertySetManagerrefresh the underlying property set - this can also cause properties to be lost if the PropertySet has not been written to a backing store- Specified by:
refreshin interfaceBackingPropertySetManager
-
switchBackingStore
public void switchBackingStore()Description copied from interface:BackingPropertySetManagerIf the backing property set supports switching to different backing storage, then switch - otherwise noop For now the switch is one way- Specified by:
switchBackingStorein interfaceBackingPropertySetManager
-