com.atlassian.jira.config.properties
Class DbBackedPropertiesManager
java.lang.Object
com.atlassian.jira.config.properties.DbBackedPropertiesManager
- All Implemented Interfaces:
- BackingPropertySetManager
public class DbBackedPropertiesManager
- extends Object
- implements BackingPropertySetManager
A container for managing PropertySet
.
- Since:
- v4.4
Method Summary |
com.atlassian.util.concurrent.Supplier<? extends com.opensymphony.module.propertyset.PropertySet> |
getPropertySetSupplier()
|
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 store |
void |
switchBackingStore()
If the backing property set supports switching to different backing storage, then switch - otherwise noop
For now the switch is one way |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbBackedPropertiesManager
public DbBackedPropertiesManager()
getPropertySetSupplier
public com.atlassian.util.concurrent.Supplier<? extends com.opensymphony.module.propertyset.PropertySet> getPropertySetSupplier()
- Specified by:
getPropertySetSupplier
in interface BackingPropertySetManager
- 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 interface BackingPropertySetManager
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 interface BackingPropertySetManager
Copyright © 2002-2013 Atlassian. All Rights Reserved.