|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.config.properties.MemorySwitchToDatabaseBackedPropertiesManager
public class MemorySwitchToDatabaseBackedPropertiesManager
A Container for a MemorySwitchToDatabasePropertySet
Constructor Summary | |
---|---|
MemorySwitchToDatabaseBackedPropertiesManager()
Create a PropertySet that is really 2 propertysets. |
Method Summary | |
---|---|
com.atlassian.util.concurrent.Supplier<? extends com.opensymphony.module.propertyset.PropertySet> |
getPropertySetSupplier()
|
void |
refresh()
This clears the cache - in this implementation it also switches to database mode |
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 |
Constructor Detail |
---|
public MemorySwitchToDatabaseBackedPropertiesManager()
Method Detail |
---|
public void refresh()
refresh
in interface BackingPropertySetManager
public void switchBackingStore()
BackingPropertySetManager
switchBackingStore
in interface BackingPropertySetManager
public com.atlassian.util.concurrent.Supplier<? extends com.opensymphony.module.propertyset.PropertySet> getPropertySetSupplier()
getPropertySetSupplier
in interface BackingPropertySetManager
Supplier
that references the underlying property set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |