@ProviderType public interface ActionManagerFactory extends ActionManagerMBean
| Modifier and Type | Method and Description |
|---|---|
ActionManager |
createTaskManager(String name,
org.apache.sling.api.resource.ResourceResolver resourceResolver,
int saveInterval)
Creates an ActionManager instead with the provided name and JCR context provided bu the resourceResolver.
|
ActionManager |
createTaskManager(String name,
org.apache.sling.api.resource.ResourceResolver resourceResolver,
int saveInterval,
int priority)
Creates an ActionManager instead with the provided name and JCR context provided bu the resourceResolver.
|
ActionManager |
getActionManager(String name)
Gets the named ActionManager from the ActionManagerFactory.
|
boolean |
hasActionManager(String name)
Checks if the ActionManagerFactory has a registered ActionManager with the provided name.
|
void |
purge(ActionManager manager)
Remove a specific manager by its object reference
|
getFailures, getStatistics, purgeCompletedTasksActionManager createTaskManager(String name, org.apache.sling.api.resource.ResourceResolver resourceResolver, int saveInterval) throws org.apache.sling.api.resource.LoginException
name - the name of the ActionManager. This method guarantee uniqueness of the action manager name.resourceResolver - the resourceResolver used to performsaveInterval - the number of changed that must incur on the resourceResolver before commit() is called (in support of batch saves)org.apache.sling.api.resource.LoginExceptionActionManager createTaskManager(String name, org.apache.sling.api.resource.ResourceResolver resourceResolver, int saveInterval, int priority) throws org.apache.sling.api.resource.LoginException
name - the name of the ActionManager. This method guarantee uniqueness of the action manager name.resourceResolver - the resourceResolver used to performsaveInterval - the number of changed that must incur on the resourceResolver before commit() is called (in support of batch saves)priority - the priority of execution for the tasks in this action managerorg.apache.sling.api.resource.LoginExceptionActionManager getActionManager(String name)
name - the name of the ActionManager to getboolean hasActionManager(String name)
name - the ActionManager namevoid purge(ActionManager manager)
manager - Copyright © 2013–2020 Adobe. All rights reserved.