Package org.ametys.cms.indexing
Class ReloadSolrAclCachesForCoresRunnable
- java.lang.Object
-
- org.ametys.plugins.core.impl.schedule.StaticRunnable
-
- org.ametys.cms.indexing.ReloadSolrAclCachesForCoresRunnable
-
- All Implemented Interfaces:
Runnable
,PluginAware
,Component
,Configurable
,Serviceable
public class ReloadSolrAclCachesForCoresRunnable extends StaticRunnable
ARunnable
for reloading Solr ACL caches for given workspaces (only for segments not already in cache).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.core.schedule.Runnable
Runnable.FireProcess, Runnable.MisfirePolicy
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.core.impl.schedule.StaticRunnable
_cronExpression, _deactivatable, _description, _featureName, _fireProcess, _id, _label, _misfirePolicy, _modifiable, _parameterValues, _pluginName, _removable, _schedulableEP, _schedulableId
-
-
Constructor Summary
Constructors Constructor Description ReloadSolrAclCachesForCoresRunnable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_configureParameterValues(Configuration paramConfigs)
Configure the values of the parametersMap<String,Object>
getParameterValues()
Gets the values of the parameters (from the linkedSchedulable
)void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.plugins.core.impl.schedule.StaticRunnable
configure, getCronExpression, getDescription, getFireProcess, getId, getLabel, getMisfirePolicy, getSchedulableId, getUserIdentity, isDeactivatable, isModifiable, isRemovable, isVolatile, setPluginInfo
-
-
-
-
Constructor Detail
-
ReloadSolrAclCachesForCoresRunnable
public ReloadSolrAclCachesForCoresRunnable()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classStaticRunnable
- Throws:
ServiceException
-
_configureParameterValues
protected void _configureParameterValues(Configuration paramConfigs) throws ConfigurationException
Description copied from class:StaticRunnable
Configure the values of the parameters- Overrides:
_configureParameterValues
in classStaticRunnable
- Parameters:
paramConfigs
- the configurations of the parameter values- Throws:
ConfigurationException
- if an error occurs
-
getParameterValues
public Map<String,Object> getParameterValues()
Description copied from interface:Runnable
Gets the values of the parameters (from the linkedSchedulable
)- Specified by:
getParameterValues
in interfaceRunnable
- Overrides:
getParameterValues
in classStaticRunnable
- Returns:
- the parameter values
-
-