public class JiraPluginPersistentStateStore extends Object implements com.atlassian.plugin.manager.PluginPersistentStateStore, InitializingComponent
Modifier and Type | Field and Description |
---|---|
static String |
UPDATE_LOCK_NAME |
Constructor and Description |
---|
JiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore,
ClusterManager clusterManager,
ApplicationProperties applicationProperties,
com.atlassian.beehive.ClusterLockService lockService) |
Modifier and Type | Method and Description |
---|---|
void |
afterInstantiation() |
com.atlassian.plugin.manager.PluginPersistentState |
load() |
void |
onClearCache(ClearCacheEvent event) |
void |
save(com.atlassian.plugin.manager.PluginPersistentState state)
This method is synchronised so that you don't have two people trying to save plugin state at the same time, and
over-writing each others changes.
|
void |
stripDotsFromPluginKeys() |
public static final String UPDATE_LOCK_NAME
public JiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore, ClusterManager clusterManager, ApplicationProperties applicationProperties, com.atlassian.beehive.ClusterLockService lockService)
@EventListener public void onClearCache(ClearCacheEvent event)
public void save(com.atlassian.plugin.manager.PluginPersistentState state)
save
in interface com.atlassian.plugin.manager.PluginPersistentStateStore
public com.atlassian.plugin.manager.PluginPersistentState load()
load
in interface com.atlassian.plugin.manager.PluginPersistentStateStore
public void afterInstantiation() throws Exception
afterInstantiation
in interface InitializingComponent
Exception
public void stripDotsFromPluginKeys()
Copyright © 2002-2021 Atlassian. All Rights Reserved.