Class DbBackedCachedPropertySetManager
java.lang.Object
com.atlassian.jira.config.properties.DbBackedCachedPropertySetManager
- All Implemented Interfaces:
BackingPropertySetManager,DbBackedPropertySetManager
-
Constructor Summary
ConstructorsConstructorDescriptionDbBackedCachedPropertySetManager(jakarta.inject.Provider<CachingApplicationPropertiesManager> applicationPropertiesManagerProvider) -
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
-
DbBackedCachedPropertySetManager
public DbBackedCachedPropertySetManager(jakarta.inject.Provider<CachingApplicationPropertiesManager> applicationPropertiesManagerProvider)
-
-
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
-