Class DbBackedCachedPropertySetManager
java.lang.Object
com.atlassian.jira.config.properties.DbBackedCachedPropertySetManager
- All Implemented Interfaces:
BackingPropertySetManager
,DbBackedPropertySetManager
-
Constructor Summary
ConstructorsConstructorDescriptionDbBackedCachedPropertySetManager
(CachingApplicationPropertiesManager applicationPropertiesManager) -
Method Summary
Modifier and TypeMethodDescriptionSupplier<? extends com.opensymphony.module.propertyset.PropertySet>
void
refresh()
refresh the underlying property set - this can also cause properties to be lost if the PropertySet has not been written to a backing storevoid
If 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(CachingApplicationPropertiesManager applicationPropertiesManager)
-
-
Method Details
-
getManager
- Specified by:
getManager
in interfaceBackingPropertySetManager
- Returns:
- the
Supplier
that references the underlying application properties manager
-
getPropertySetSupplier
- Specified by:
getPropertySetSupplier
in interfaceBackingPropertySetManager
- Returns:
- the
Supplier
that references the underlying property set
-
refresh
public void refresh()Description copied from interface:BackingPropertySetManager
refresh 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:
refresh
in interfaceBackingPropertySetManager
-
switchBackingStore
public void switchBackingStore()Description copied from interface:BackingPropertySetManager
If the backing property set supports switching to different backing storage, then switch - otherwise noop For now the switch is one way- Specified by:
switchBackingStore
in interfaceBackingPropertySetManager
-