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
ARunnablefor 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 Modifier and Type Field Description private JackrabbitRepository_repository-
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)voidservice(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
-
-
-
-
Field Detail
-
_repository
private JackrabbitRepository _repository
-
-
Constructor Detail
-
ReloadSolrAclCachesForCoresRunnable
public ReloadSolrAclCachesForCoresRunnable()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classStaticRunnable- Throws:
ServiceException
-
_configureParameterValues
protected void _configureParameterValues(Configuration paramConfigs) throws ConfigurationException
Description copied from class:StaticRunnableConfigure the values of the parameters- Overrides:
_configureParameterValuesin 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:RunnableGets the values of the parameters (from the linkedSchedulable)- Specified by:
getParameterValuesin interfaceRunnable- Overrides:
getParameterValuesin classStaticRunnable- Returns:
- the parameter values
-
-