@Internal public class HazelcastPluginSharedDataStore extends Object implements PluginSharedDataStore
PluginSharedDataStore.
Use a combination of distributed collections to keep the shared data synchronized between cluster nodes, and to
record which plugins are using which shared data.| Constructor and Description |
|---|
HazelcastPluginSharedDataStore(com.hazelcast.core.HazelcastInstance hazelcastInstance) |
| Modifier and Type | Method and Description |
|---|---|
SharedData |
getPluginSharedData(PluginSharedDataKey sharedDataKey,
com.atlassian.plugin.Plugin plugin)
Obtain the stored SharedData instance for the given key and plugin information
|
void |
unregisterPluginSharedData(com.atlassian.plugin.Plugin plugin)
When a plugin gets uninstalled from the current cluster node, try and clean up.
|
public HazelcastPluginSharedDataStore(com.hazelcast.core.HazelcastInstance hazelcastInstance)
public SharedData getPluginSharedData(PluginSharedDataKey sharedDataKey, com.atlassian.plugin.Plugin plugin)
PluginSharedDataStoregetPluginSharedData in interface PluginSharedDataStorepublic void unregisterPluginSharedData(com.atlassian.plugin.Plugin plugin)
unregisterPluginSharedData in interface PluginSharedDataStoreCopyright © 2003–2020 Atlassian. All rights reserved.