A B C D E F G H I J K L M N O P Q R S T U V W

A

AbstractJobQueue - Class in org.apache.sling.event.impl.jobs.queues
The job blocking queue extends the blocking queue by some functionality for the job event handling.
AbstractJobQueue(String, InternalQueueConfiguration, EnvironmentComponent) - Constructor for class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Start this queue
AbstractParallelJobQueue - Class in org.apache.sling.event.impl.jobs.queues
Abstract base class for a parallel processing job queue.
AbstractParallelJobQueue(String, InternalQueueConfiguration, EnvironmentComponent, Scheduler) - Constructor for class org.apache.sling.event.impl.jobs.queues.AbstractParallelJobQueue
 
AbstractRepositoryEventHandler - Class in org.apache.sling.event.impl
Abstract base class for all event handlers in this package.
AbstractRepositoryEventHandler() - Constructor for class org.apache.sling.event.impl.AbstractRepositoryEventHandler
 
AbstractRepositoryEventHandler.EventInfo - Class in org.apache.sling.event.impl
 
AbstractRepositoryEventHandler.EventInfo() - Constructor for class org.apache.sling.event.impl.AbstractRepositoryEventHandler.EventInfo
 
acknowledgeJob(Event) - Static method in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.acknowledgeJob(Event)
acknowledgeJob(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Send an acknowledge.
activate(ComponentContext) - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Activate this component.
activate(ComponentContext) - Method in class org.apache.sling.event.impl.DistributingEventHandler
 
activate() - Method in class org.apache.sling.event.impl.EnvironmentComponent
Activate this component.
activate(ComponentContext) - Method in class org.apache.sling.event.impl.EventingThreadPool
Activate this component.
activate(Map<String, Object>) - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
Create a new queue configuration
activate(BundleContext) - Method in class org.apache.sling.event.impl.jobs.config.QueueConfigurationManager
Activate this component.
activate(Map<String, Object>) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Activate this component.
activate(Map<String, Object>) - Method in class org.apache.sling.event.impl.jobs.jcr.LockManager
Activate this component.
activate(ComponentContext) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Activate this component.
add(StatisticsImpl) - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Add another statistics information.
addActivated(long) - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
Add a started job.
addActive(long) - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Add a job from the queue to status active
addCancelled() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
Add a cancelled job.
addEventProperties(Node, Dictionary<String, Object>) - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Add properties from the node to the event properties.
addEventProperties(Node, Dictionary<String, Object>) - Method in class org.apache.sling.event.impl.DistributingEventHandler
 
addFailed() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
Add a failed job.
addFinished(long) - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
Add a finished job.
addNodeProperties(Node, Event) - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Add properties when storing event in repository.
addNodeProperties(Node, Event) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
APPLICATION_ID - Static variable in class org.apache.sling.event.impl.support.Environment
Global application id.

B

bindThreadPool(EventingThreadPool) - Method in class org.apache.sling.event.impl.EnvironmentComponent
 

C

canBeMarkedForRemoval() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
canBeMarkedForRemoval() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractParallelJobQueue
 
canBeMarkedForRemoval() - Method in class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
cancelJob(String, String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated. 
cancelJob(String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated. 
cancelJob(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.removeJob(String) instead.
cancelJob(String, String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.removeJob(String, String) instead.
cancelledJob() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Add a cancelled job.
cancelTimedEvent(String) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
cancelTimedEvent(String) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Cancel this timed event.
checkForUnprocessedJobs() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Periodically check for started jobs without an ack.
cleanup() - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
This method is invoked periodically.
clear() - Method in class org.apache.sling.event.EventPropertiesMap
 
clear() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
clear() - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
clear() - Method in class org.apache.sling.event.impl.jobs.queues.ParallelJobQueue
 
clear() - Method in class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
clear() - Method in interface org.apache.sling.event.jobs.Queue
Remove all outstanding jobs from the queue.
clearQueued() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Clear all queued
close() - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
close() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Close this queue.
close() - Method in interface org.apache.sling.event.JobsIterator
Deprecated. Releases this iterators resources immediately instead of waiting for this to happen when it is automatically closed.
CONFIG_PROPERTY_REPO_PATH - Static variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
 
configuration - Variable in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Configuration.
ConfigurationConstants - Class in org.apache.sling.event.impl.jobs.config
Constants for the queue configuration.
ConfigurationConstants() - Constructor for class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
containsKey(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
containsValue(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
CONTEXT_PROPERTY_NAME - Static variable in interface org.apache.sling.event.impl.jobs.JobStatusNotifier
 
copyFrom(StatisticsImpl) - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Create a new statistics object with exactly the same values.
createAdminSession() - Method in class org.apache.sling.event.impl.EnvironmentComponent
Create a new admin session.
createDistributableEvent(String, Dictionary<String, Object>) - Static method in class org.apache.sling.event.EventUtil
Create a distributable event.

D

date - Variable in class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 
deactivate(ComponentContext) - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Deactivate this component.
deactivate() - Method in class org.apache.sling.event.impl.EnvironmentComponent
Dectivate this component.
deactivate(ComponentContext) - Method in class org.apache.sling.event.impl.EventingThreadPool
Deactivate this component.
deactivate() - Method in class org.apache.sling.event.impl.jobs.config.QueueConfigurationManager
Deactivate this component.
deactivate() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Dectivate this component.
deactivate() - Method in class org.apache.sling.event.impl.jobs.jcr.LockManager
Deactivate this component.
deactivate(ComponentContext) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Deactivate this component.
decQueued() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Job not processed by us
DEFAULT_MAX_PARALLEL - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
DEFAULT_PRIORITY - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
DEFAULT_RETRIES - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
DEFAULT_RETRY_DELAY - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
DEFAULT_RUN_LOCAL - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
DEFAULT_TYPE - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
DefaultJobManager - Class in org.apache.sling.event.impl.jobs
An event handler for special job events.
DefaultJobManager() - Constructor for class org.apache.sling.event.impl.jobs.DefaultJobManager
 
DistributingEventHandler - Class in org.apache.sling.event.impl
This event handler distributes events across an application cluster.
DistributingEventHandler() - Constructor for class org.apache.sling.event.impl.DistributingEventHandler
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.event.impl.jobs.console.WebConsolePlugin
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.event.impl.jobs.console.WebConsolePlugin
 

E

elements() - Method in class org.apache.sling.event.EventPropertiesMap
 
entrySet() - Method in class org.apache.sling.event.EventPropertiesMap
 
environment - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Environment component.
Environment - Class in org.apache.sling.event.impl.support
This class provides "global settings" to all services, like the application id and the thread pool.
Environment() - Constructor for class org.apache.sling.event.impl.support.Environment
 
EnvironmentComponent - Class in org.apache.sling.event.impl
Environment component.
EnvironmentComponent() - Constructor for class org.apache.sling.event.impl.EnvironmentComponent
 
equals(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
equals(Object) - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
event - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler.EventInfo
 
event - Variable in class org.apache.sling.event.impl.jobs.JobEvent
 
EVENT_NODE_TYPE - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
EVENT_PREFIX - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
The namespace prefix.
EventingThreadPool - Class in org.apache.sling.event.impl
The configurable eventing thread pool.
EventingThreadPool() - Constructor for class org.apache.sling.event.impl.EventingThreadPool
 
EventPropertiesMap - Class in org.apache.sling.event
An implementation of a map that helps in dealing with properties of an OSGi event.
EventPropertiesMap(Event) - Constructor for class org.apache.sling.event.EventPropertiesMap
Construct a new map out of an event object.
EventPropertiesMap(Map<String, Object>) - Constructor for class org.apache.sling.event.EventPropertiesMap
Construct a new map out of another map.
EventPropertiesMap() - Constructor for class org.apache.sling.event.EventPropertiesMap
Construct a new map.
EventUtil - Class in org.apache.sling.event
The EventUtil class is an utility class for clustered environments.
EventUtil() - Constructor for class org.apache.sling.event.EventUtil
 
EventUtil.JobPriority - Enum in org.apache.sling.event
Deprecated. Use JobUtil.JobPriority
execute(Runnable) - Method in class org.apache.sling.event.impl.EventingThreadPool
 
execute(JobContext) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
executeJob(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Process a job
expression - Variable in class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 

F

failedJob() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Add a failed job.
filter(String) - Static method in class org.apache.sling.event.impl.jobs.Utility
Filter the node name for not allowed characters and replace them.
findJob(String, Map<String, Object>) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
findJob(String, Map<String, Object>) - Method in interface org.apache.sling.event.jobs.JobManager
Find a job - either scheduled or active.
finished() - Method in class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
finished(JobEvent) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Finish the job
finished() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
finishedJob(Event) - Static method in class org.apache.sling.event.EventUtil
Deprecated. Use {link JobUtil.finishedJob(Event)
finishedJob(Event, boolean) - Method in interface org.apache.sling.event.impl.jobs.JobStatusNotifier
Notify that the job is finished.
finishedJob(Event, boolean) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
finishedJob(long) - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
Add a finished job
finishedJob(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Notify a finished job.
forceReadEvent(Node) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Read an event from the repository.
forceRemoveJob(String) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
forceRemoveJob(String, String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
forceRemoveJob(String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
forceRemoveJob(String) - Method in interface org.apache.sling.event.jobs.JobManager
Cancel this job.
forceRemoveJob(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Cancel this job.
forceRemoveJob(String, String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Cancel this job.
fromConfiguration(Map<String, Object>) - Static method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
Create a new configuration from a config

G

get(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
getAllJobs(String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated. 
getAllJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.queryAllJobs(String, Map...) instead.
getAnonPath(Calendar) - Static method in class org.apache.sling.event.impl.jobs.Utility
 
getApplicationId(Event) - Static method in class org.apache.sling.event.EventUtil
Return the application id the event was created at.
getApplicationIds() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getApplicationIds() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Application ids - returns an array of application ids if this queue is bound to some cluster nodes.
getAverageProcessingTime() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getAverageProcessingTime() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getAverageProcessingTime() - Method in interface org.apache.sling.event.jobs.Statistics
The average processing time of a job - this only counts finished jobs.
getAverageProcessingTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The average processing time of a job - this only counts finished jobs.
getAverageWaitingTime() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getAverageWaitingTime() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getAverageWaitingTime() - Method in interface org.apache.sling.event.jobs.Statistics
The average waiting time of a job in the queue.
getAverageWaitingTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The average waiting time of a job in the queue.
getCleanUpQuery(Session) - Method in class org.apache.sling.event.impl.DistributingEventHandler
Return the query for the clean up.
getConfiguration() - Method in class org.apache.sling.event.impl.EventingThreadPool
 
getConfiguration() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Return the queue configuration
getConfiguration() - Method in interface org.apache.sling.event.jobs.Queue
Get the corresponding configuration.
getConfigurations() - Method in class org.apache.sling.event.impl.jobs.config.QueueConfigurationManager
Return all configurations.
getCurrentJobs(String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated. 
getCurrentJobs(String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated. 
getCurrentJobs(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.queryCurrentJobs(String, Map...) instead.
getCurrentJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.queryCurrentJobs(String, Map...) instead.
getDynamicClassLoader() - Method in class org.apache.sling.event.impl.EnvironmentComponent
Return the dynamic classloader for loading events from the repository.
getEventAdmin() - Method in class org.apache.sling.event.impl.EnvironmentComponent
Return the event admin.
getEventNodeType() - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Return the node type for the event.
getEventNodeType() - Method in class org.apache.sling.event.impl.TimedJobHandler
 
getJobCreated(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Get the created calendar object.
getJobId(String, String, String) - Static method in class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 
getJobStatusNotifier() - Method in class org.apache.sling.event.impl.jobs.JobStatusNotifier.NotifierContext
 
getLastActivatedJobTime() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getLastActivatedJobTime() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getLastActivatedJobTime() - Method in interface org.apache.sling.event.jobs.Statistics
The time a job has been started last.
getLastActivatedJobTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The time a job has been started last.
getLastFinishedJobTime() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getLastFinishedJobTime() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getLastFinishedJobTime() - Method in interface org.apache.sling.event.jobs.Statistics
The time a job has been finished/failed/cancelled last.
getLastFinishedJobTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The time a job has been finished/failed/cancelled last.
getMainQueueConfiguration() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
getMaxParallel() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getMaxParallel() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the max number of parallel processes.
getMaxRetries() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getMaxRetries() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the max number of retries, -1 for endless retry!
getName() - Method in class org.apache.sling.event.impl.EventingThreadPool
 
getName() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
Return the name of the queue.
getName() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Get the name of the job queue.
getName() - Method in interface org.apache.sling.event.jobs.Queue
Get the queue name.
getNodePropertyName(String) - Static method in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
Return the converted repository property name
getNodePropertyValue(ValueFactory, Object) - Static method in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
Return the converted repository property value
getNumberOfActiveJobs() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getNumberOfActiveJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of jobs currently in processing.
getNumberOfCancelledJobs() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getNumberOfCancelledJobs() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getNumberOfCancelledJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of permanently failing or cancelled jobs.
getNumberOfCancelledJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of permanently failing or cancelled jobs.
getNumberOfFailedJobs() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getNumberOfFailedJobs() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getNumberOfFailedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of failing jobs.
getNumberOfFailedJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of failing jobs.
getNumberOfFinishedJobs() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getNumberOfFinishedJobs() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getNumberOfFinishedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of successfully finished jobs.
getNumberOfFinishedJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of successfully finished jobs.
getNumberOfJobs() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getNumberOfJobs() - Method in interface org.apache.sling.event.jobs.Statistics
This just adds Statistics.getNumberOfActiveJobs() and Statistics.getNumberOfQueuedJobs()
getNumberOfProcessedJobs() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getNumberOfProcessedJobs() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getNumberOfProcessedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of already processed jobs.
getNumberOfProcessedJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of already processed jobs.
getNumberOfQueuedJobs() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getNumberOfQueuedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of jobs currently waiting in a queue.
getPid() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getPosition() - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
getPosition() - Method in class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 
getPosition() - Method in interface org.apache.sling.event.jobs.JobsIterator
Returns the current position within the iterator.
getPriority() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getPriority() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the thread priority for the job thread.
getQueue(String) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
getQueue(String) - Method in interface org.apache.sling.event.jobs.JobManager
Return a queue with a specific name (if running)
getQueueConfiguration(JobEvent) - Method in class org.apache.sling.event.impl.jobs.config.QueueConfigurationManager
Find the queue configuration for the job.
getQueues() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
getQueues() - Method in interface org.apache.sling.event.jobs.JobManager
Return an iterator for all available queues.
getRanking() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getRanking() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Get the ranking of this configuration.
getRepositoryPath() - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Return the repository path.
getRetryDelayInMs() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getRetryDelayInMs() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the retry delay in ms
getScheduledEvent(String, String, String) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
getScheduledEvent(String, String, String) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Return the scheduled event with the given id.
getScheduledEvents(String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
getScheduledEvents(String, Map<String, Object>...) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Return a list of currently schedulded events.
getScheduledJobs(String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated. 
getScheduledJobs(String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated. 
getScheduledJobs(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.queryScheduledJobs(String, Map...) instead.
getScheduledJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.queryScheduledJobs(String, Map...) instead.
getSize() - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
getSize() - Method in class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 
getSize() - Method in interface org.apache.sling.event.jobs.JobsIterator
Returns the total number of jobs.
getStartTime() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
getStartTime() - Method in interface org.apache.sling.event.jobs.Statistics
The time this service has been started
getState(String) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
getState(String) - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
getState(String) - Method in interface org.apache.sling.event.jobs.Queue
For monitoring purposes and possible extensions from the different queue types.
getStateInfo() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
getStateInfo() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractParallelJobQueue
 
getStateInfo() - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
getStateInfo() - Method in class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
getStateInfo() - Method in interface org.apache.sling.event.jobs.Queue
Return some information about the current state of the queue.
getStatistics() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Return our internal statistics object.
getStatistics() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
getStatistics() - Method in interface org.apache.sling.event.jobs.JobManager
Return statistics information about all queues.
getStatistics() - Method in interface org.apache.sling.event.jobs.Queue
Return statistics information about this queue.
getStopInfo() - Method in class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 
getTopic() - Method in class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
 
getTopic() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The topic this statistics is about.
getTopics() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getTopics() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
The list of topics this queue is bound to.
getTopicStatistics() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
getTopicStatistics() - Method in interface org.apache.sling.event.jobs.JobManager
Return statistics information about job topics.
getType() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
getType() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the queue type.
getUniquePath(String, String) - Static method in class org.apache.sling.event.impl.jobs.Utility
Create a unique node path (folder and name) for the job.
getWriterRootNode() - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Get the root node from the writer session.

H

handleEvent(Event) - Method in class org.apache.sling.event.impl.DistributingEventHandler
 
handleEvent(Event) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
handleEvent(Event) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
 
handleEvent(Event) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
hashCode() - Method in class org.apache.sling.event.EventPropertiesMap
 
hashCode() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
hasNext() - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
hasNext() - Method in class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 

I

ignoreException(Exception) - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Helper method which just logs the exception in debug mode.
ignoreException(Exception) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Helper method which just logs the exception in debug mode.
incQueued() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
New job in the qeue
InternalQueueConfiguration - Class in org.apache.sling.event.impl.jobs.config
 
InternalQueueConfiguration() - Constructor for class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
InternalQueueConfiguration(Event) - Constructor for class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
isAlive() - Method in class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
isAlive(JCRJobEvent) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Check if the job is still alive = unfinished node in repository
isAlive() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
isEmpty() - Method in class org.apache.sling.event.EventPropertiesMap
 
isEmpty() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Is the queue empty?
isEmpty() - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
isEmpty() - Method in class org.apache.sling.event.impl.jobs.queues.ParallelJobQueue
 
isEmpty() - Method in class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
isJobEvent(Event) - Static method in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.isJobEvent(Event)
isJobEvent(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Is this a job event?
isJobProcessingEnabled() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
isJobProcessingEnabled() - Method in interface org.apache.sling.event.jobs.JobManager
Is job processing enabled?
isLocal(Event) - Static method in class org.apache.sling.event.EventUtil
Is this a local event?
isLocalQueue() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
isLocalQueue() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Is this a local running queue (= processing only jobs started on the same instance.)
isMarkedForRemoval() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Check if this queue is marked for removal
isSkipped(JobEvent) - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
Checks if the event should be skipped.
isStopEvent() - Method in class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 
isSuspended() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
isSuspended() - Method in interface org.apache.sling.event.jobs.Queue
Is the queue currently suspended?
isValid() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
isWaiting - Variable in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Is the queue currently waiting(sleeping)
iterator() - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
iterator() - Method in class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 

J

JCRHelper - Class in org.apache.sling.event.impl.jobs.jcr
Helper class defining some constants and utility methods.
JCRHelper() - Constructor for class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
JCRJobEvent - Class in org.apache.sling.event.impl.jobs.jcr
This object encapsulates all information about a job.
JCRJobEvent(Event, PersistenceHandler) - Constructor for class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
JOB_ID - Static variable in class org.apache.sling.event.jobs.JobUtil
This is a unique identifer which can be used to cancel the job.
JOB_NODE_TYPE - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
jobCount - Variable in class org.apache.sling.event.impl.jobs.queues.AbstractParallelJobQueue
 
JobEvent - Class in org.apache.sling.event.impl.jobs
This object encapsulates all information about a job.
JobEvent(Event, String) - Constructor for class org.apache.sling.event.impl.jobs.JobEvent
 
jobId - Variable in class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 
JobManager - Interface in org.apache.sling.event.jobs
The job manager is the heart of the job event handling.
JobManager.QueryType - Enum in org.apache.sling.event.jobs
The requested job types for the query.
JobProcessor - Interface in org.apache.sling.event
Deprecated. Use org.apache.sling.event.jobs.JobProcessor
JobProcessor - Interface in org.apache.sling.event.jobs
A job processor processes a job in the background.
JobsIterator - Interface in org.apache.sling.event.jobs
This Iterator allows to iterate over Events.
JobsIterator - Interface in org.apache.sling.event
Deprecated.  
JobsIteratorImpl - Class in org.apache.sling.event.impl.jobs.jcr
Deprecated.  
JobsIteratorImpl(JobsIterator) - Constructor for class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
JobsIteratorImpl - Class in org.apache.sling.event.impl.jobs
Jobs iterator.
JobsIteratorImpl(List<Event>) - Constructor for class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 
JobStatusNotifier - Interface in org.apache.sling.event.impl.jobs
 
JobStatusNotifier.NotifierContext - Class in org.apache.sling.event.impl.jobs
 
JobStatusNotifier.NotifierContext(JobStatusNotifier) - Constructor for class org.apache.sling.event.impl.jobs.JobStatusNotifier.NotifierContext
 
JobStatusProvider - Interface in org.apache.sling.event
Deprecated.  
JobStatusProviderImpl - Class in org.apache.sling.event.impl.jobs.jcr
Deprecated.  
JobStatusProviderImpl() - Constructor for class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
JobUtil - Class in org.apache.sling.event.jobs
The Job class is an utility class for creating and processing jobs.
JobUtil.JobPriority - Enum in org.apache.sling.event.jobs
The priority for jobs.

K

keys() - Method in class org.apache.sling.event.EventPropertiesMap
 
keySet() - Method in class org.apache.sling.event.EventPropertiesMap
 

L

loadEvents() - Method in class org.apache.sling.event.impl.TimedJobHandler
Load all active timed events from the repository.
lock() - Method in class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
lock(Session, String) - Method in class org.apache.sling.event.impl.jobs.jcr.LockManager
Lock the node at the given path
lock(JobEvent) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Try to lock the node in the repository.
lock() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
LockManager - Class in org.apache.sling.event.impl.jobs.jcr
 
LockManager() - Constructor for class org.apache.sling.event.impl.jobs.jcr.LockManager
 
logger - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Default log.
logger - Variable in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
The logger.

M

markForRemoval() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Mark this queue for removal.
match(JobEvent) - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
Check if the queue processes the event.
md5(String) - Static method in class org.apache.sling.event.impl.jobs.Utility
Calculate an MD5 hash of the string given using 'utf-8' encoding.

N

next() - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
next() - Method in class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 
NODE_PROPERTY_APPLICATION - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_CREATED - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_FINISHED - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_JOBID - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_LOCK_OWNER - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
The property for locks.
NODE_PROPERTY_PROCESSOR - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_PROPERTIES - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_TE_DATE - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_TE_EXPRESSION - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_TE_PERIOD - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
NODE_PROPERTY_TOPIC - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
nodePath - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler.EventInfo
 
NODETYPE_FOLDER - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
The nodetype for newly created intermediate folders
NODETYPE_ORDERED_FOLDER - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
The nodetype for newly created folders
notifyActiveJob(String) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Job started
notifyAddJob(JobEvent) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Add a job to all jobs.
notifyFinished(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
notifyFinished(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractParallelJobQueue
 
notifyFinished(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
notifyRemoveJob(String) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Remove a job from all jobs.
notifyRescheduleJob(String) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Job started
NUMBER_OF_PROCESSORS - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 

O

onEvent(EventIterator) - Method in class org.apache.sling.event.impl.DistributingEventHandler
 
onEvent(EventIterator) - Method in class org.apache.sling.event.impl.jobs.jcr.LockManager
 
onEvent(EventIterator) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
 
onEvent(EventIterator) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
OrderedJobQueue - Class in org.apache.sling.event.impl.jobs.queues
An ordered job queue is processing the queue FIFO in a serialized way.
OrderedJobQueue(String, InternalQueueConfiguration, EnvironmentComponent) - Constructor for class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
org.apache.sling.event - package org.apache.sling.event
 
org.apache.sling.event.impl - package org.apache.sling.event.impl
 
org.apache.sling.event.impl.jobs - package org.apache.sling.event.impl.jobs
 
org.apache.sling.event.impl.jobs.config - package org.apache.sling.event.impl.jobs.config
 
org.apache.sling.event.impl.jobs.console - package org.apache.sling.event.impl.jobs.console
 
org.apache.sling.event.impl.jobs.jcr - package org.apache.sling.event.impl.jobs.jcr
 
org.apache.sling.event.impl.jobs.queues - package org.apache.sling.event.impl.jobs.queues
 
org.apache.sling.event.impl.support - package org.apache.sling.event.impl.support
 
org.apache.sling.event.jobs - package org.apache.sling.event.jobs
 

P

ParallelJobQueue - Class in org.apache.sling.event.impl.jobs.queues
The default parallel job queue processing the entries FIFO.
ParallelJobQueue(String, InternalQueueConfiguration, EnvironmentComponent, Scheduler) - Constructor for class org.apache.sling.event.impl.jobs.queues.ParallelJobQueue
 
period - Variable in class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 
PersistenceHandler - Class in org.apache.sling.event.impl.jobs.jcr
Persistence handler for the jobs
PersistenceHandler() - Constructor for class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
 
persistEvent(Event, TimedJobHandler.ScheduleInfo) - Method in class org.apache.sling.event.impl.TimedJobHandler
 
printConfiguration(PrintWriter, String) - Method in class org.apache.sling.event.impl.jobs.console.WebConsolePlugin
Configuration printer for the web console.
process(JobEvent) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Process a new job event.
process(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Add a new job to the queue.
process(Event) - Method in interface org.apache.sling.event.jobs.JobProcessor
Execute the job.
processEvent(Event, TimedJobHandler.ScheduleInfo) - Method in class org.apache.sling.event.impl.TimedJobHandler
Process the event.
processJob(Event, JobProcessor) - Static method in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.processJob(Event, org.apache.sling.event.jobs.JobProcessor)
processJob(Event, JobProcessor) - Static method in class org.apache.sling.event.jobs.JobUtil
Process a job in the background and notify its success.
processWriteQueue() - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
 
processWriteQueue() - Method in class org.apache.sling.event.impl.DistributingEventHandler
 
processWriteQueue() - Method in class org.apache.sling.event.impl.TimedJobHandler
 
PROP_APP_IDS - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_MAX_PARALLEL - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_NAME - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_PRIORITY - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_RETRIES - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_RETRY_DELAY - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_RUN_LOCAL - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_TOPICS - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROP_TYPE - Static variable in class org.apache.sling.event.impl.jobs.config.ConfigurationConstants
 
PROPERTY_APPLICATION - Static variable in class org.apache.sling.event.EventUtil
This event property specifies the application node.
PROPERTY_DISTRIBUTE - Static variable in class org.apache.sling.event.EventUtil
This event property indicates, if the event should be distributed in the cluster (default false).
PROPERTY_EVENT_ID - Static variable in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobUtil.JOB_ID
PROPERTY_EVENT_ID - Static variable in interface org.apache.sling.event.TimedEventStatusProvider
This is a unique identifer which can be used to cancel the job.
PROPERTY_JOB_CREATED - Static variable in class org.apache.sling.event.jobs.JobUtil
This property is set by the eventing and contains a calendar object specifying the date and time when this job has been created.
PROPERTY_JOB_ID - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_NAME
PROPERTY_JOB_NAME - Static variable in class org.apache.sling.event.jobs.JobUtil
The property for the unique event name.
PROPERTY_JOB_PARALLEL - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_PARALLEL
PROPERTY_JOB_PARALLEL - Static variable in class org.apache.sling.event.jobs.JobUtil
The property to set if a job can be run parallel to any other job.
PROPERTY_JOB_PRIORITY - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_PRIORITY
PROPERTY_JOB_PRIORITY - Static variable in class org.apache.sling.event.jobs.JobUtil
This property allows to override the priority for the thread used to start this job.
PROPERTY_JOB_QUEUE_NAME - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_QUEUE_NAME
PROPERTY_JOB_QUEUE_NAME - Static variable in class org.apache.sling.event.jobs.JobUtil
The property to set to put the jobs into a separate job queue.
PROPERTY_JOB_QUEUE_ORDERED - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_QUEUE_ORDERED
PROPERTY_JOB_QUEUE_ORDERED - Static variable in class org.apache.sling.event.jobs.JobUtil
If this property is set with any value, the queue processes the jobs in the same order as they have arrived.
PROPERTY_JOB_RETRIES - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_RETRIES
PROPERTY_JOB_RETRIES - Static variable in class org.apache.sling.event.jobs.JobUtil
The property for setting the maximum number of retries.
PROPERTY_JOB_RETRY_COUNT - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_RETRY_COUNT
PROPERTY_JOB_RETRY_COUNT - Static variable in class org.apache.sling.event.jobs.JobUtil
The property to track the retry count for jobs.
PROPERTY_JOB_RETRY_DELAY - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_RETRY_DELAY
PROPERTY_JOB_RETRY_DELAY - Static variable in class org.apache.sling.event.jobs.JobUtil
The property to set a retry delay.
PROPERTY_JOB_RUN_LOCAL - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_RUN_LOCAL
PROPERTY_JOB_RUN_LOCAL - Static variable in class org.apache.sling.event.jobs.JobUtil
The property to set if a job should only be run on the same app it has been created.
PROPERTY_JOB_TOPIC - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_JOB_TOPIC
PROPERTY_JOB_TOPIC - Static variable in class org.apache.sling.event.jobs.JobUtil
The job topic property.
PROPERTY_NOTIFICATION_JOB - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.PROPERTY_NOTIFICATION_JOB
PROPERTY_NOTIFICATION_JOB - Static variable in class org.apache.sling.event.jobs.JobUtil
Property containing the job event.
PROPERTY_TIME - Static variable in class org.apache.sling.event.impl.jobs.Utility
Event property containing the time for job start and job finished events.
PROPERTY_TIMED_EVENT_DATE - Static variable in class org.apache.sling.event.EventUtil
The date for the timed event.
PROPERTY_TIMED_EVENT_ID - Static variable in class org.apache.sling.event.EventUtil
The property for the unique event id.
PROPERTY_TIMED_EVENT_PERIOD - Static variable in class org.apache.sling.event.EventUtil
The period for the timed event.
PROPERTY_TIMED_EVENT_SCHEDULE - Static variable in class org.apache.sling.event.EventUtil
The scheduler expression for the timed event.
PROPERTY_TIMED_EVENT_TOPIC - Static variable in class org.apache.sling.event.EventUtil
The real topic of the event.
put(String, Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
put(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Put another job into the queue.
put(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
put(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.ParallelJobQueue
 
put(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.event.EventPropertiesMap
 

Q

queryAllJobs(String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
queryAllJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Return all jobs either running or scheduled.
queryCurrentJobs(String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
queryCurrentJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Return the jobs which are currently in processing.
queryJobs(JobManager.QueryType, String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
queryJobs(JobManager.QueryType, String, long, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
queryJobs(JobManager.QueryType, String, Map<String, Object>...) - Method in interface org.apache.sling.event.jobs.JobManager
Return all jobs either running or scheduled.
queryJobs(JobManager.QueryType, String, long, Map<String, Object>...) - Method in interface org.apache.sling.event.jobs.JobManager
Return all jobs either running or scheduled.
queryScheduledJobs(String, Map<String, Object>...) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
queryScheduledJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Return a list of currently scheduled jobs.
queue - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
A local queue for serialising the event processing.
Queue - Interface in org.apache.sling.event.jobs
This is a job queue processing job events.
QueueConfiguration - Interface in org.apache.sling.event.jobs
The configuration of a queue.
QueueConfiguration.Type - Enum in org.apache.sling.event.jobs
The queue type.
QueueConfigurationManager - Class in org.apache.sling.event.impl.jobs.config
An event handler for special job events.
QueueConfigurationManager() - Constructor for class org.apache.sling.event.impl.jobs.config.QueueConfigurationManager
 
queued - Variable in class org.apache.sling.event.impl.jobs.JobEvent
 
queueName - Variable in class org.apache.sling.event.impl.jobs.JobEvent
 
queueName - Variable in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
The queue name.

R

readEvent(Node) - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Read an event from the repository.
readEventProperties(Node, ClassLoader, boolean) - Static method in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
Read event properties from a repository node and create a property map (dictionary).
remove(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
remove() - Method in class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
remove() - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
remove(String) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Remove the job - if not currently in processing.
remove() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
remove() - Method in class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 
removeAll() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
removeAll() - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
removeAll() - Method in interface org.apache.sling.event.jobs.Queue
Remove all outstanding jobs and delete them.
removeAllJobs() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Remove all events from the queue and return them.
removeAllJobs() - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
removeAllJobs() - Method in class org.apache.sling.event.impl.jobs.queues.ParallelJobQueue
 
removeAllJobs() - Method in class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
removeJob(String) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
removeJob(String, String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
removeJob(String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
removeJob(String) - Method in interface org.apache.sling.event.jobs.JobManager
Cancel this job.
removeJob(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Cancel this job.
removeJob(String, String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Cancel this job.
rename(String) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Rename this queue.
repositoryPath - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
The path in the repository.
reschedule() - Method in class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
reschedule(JobEvent) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Reschedule the job
reschedule() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
reschedule(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Reschedule a job.
reschedule(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractParallelJobQueue
 
reschedule(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
rescheduleJob(Event) - Static method in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.rescheduleJob(Event)
rescheduleJob(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Notify a failed job.
reset() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
reset() - Method in class org.apache.sling.event.impl.jobs.StatisticsImpl
 
reset() - Method in interface org.apache.sling.event.jobs.Statistics
Clear all collected statistics and set the starting time to the current time.
restart() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
 
restart() - Method in class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
restart(JobEvent) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Try to restart the job
restart() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
restart() - Method in interface org.apache.sling.event.jobs.JobManager
Restart the job manager.
resume() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
resume() - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
resume() - Method in interface org.apache.sling.event.jobs.Queue
Resume a suspended queue.
run() - Method in class org.apache.sling.event.impl.DistributingEventHandler
This method is invoked periodically.
run() - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
This method is invoked periodically by the scheduler.
run() - Method in class org.apache.sling.event.impl.jobs.jcr.LockManager
Cron job
run() - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
This method is invoked periodically by the scheduler.
runInBackground() - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
 
runInBackground() - Method in class org.apache.sling.event.impl.DistributingEventHandler
 
runInBackground() - Method in class org.apache.sling.event.impl.TimedJobHandler
 
running - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Is the background task still running?
running - Variable in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Are we still running?

S

sendAcknowledge(Event) - Method in interface org.apache.sling.event.impl.jobs.JobStatusNotifier
Send an acknowledge message that someone is processing the job.
sendAcknowledge(Event) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
sendNotification(EnvironmentComponent, String, Event, Long) - Static method in class org.apache.sling.event.impl.jobs.Utility
Helper method for sending the notification events.
shouldDistribute(Event) - Static method in class org.apache.sling.event.EventUtil
Should this event be distributed in the cluster?
size() - Method in class org.apache.sling.event.EventPropertiesMap
 
skip(long) - Method in class org.apache.sling.event.impl.jobs.jcr.JobsIteratorImpl
Deprecated.  
skip(long) - Method in class org.apache.sling.event.impl.jobs.JobsIteratorImpl
 
skip(long) - Method in interface org.apache.sling.event.jobs.JobsIterator
Skip a number of jobs.
start() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Start the job queue.
start(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
start(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.AbstractParallelJobQueue
 
start(JobEvent) - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
started - Variable in class org.apache.sling.event.impl.jobs.JobEvent
 
startWriterSession() - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Start the repository session and add this handler as an observer for new events created on other nodes.
startWriterSession() - Method in class org.apache.sling.event.impl.DistributingEventHandler
 
startWriterSession() - Method in class org.apache.sling.event.impl.TimedJobHandler
 
Statistics - Interface in org.apache.sling.event.jobs
Statistic information.
StatisticsImpl - Class in org.apache.sling.event.impl.jobs
Implementation of the statistics.
StatisticsImpl() - Constructor for class org.apache.sling.event.impl.jobs.StatisticsImpl
 
StatisticsImpl(long) - Constructor for class org.apache.sling.event.impl.jobs.StatisticsImpl
 
stopWriterSession() - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Stop the session.
suspend() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
 
suspend() - Method in interface org.apache.sling.event.jobs.Queue
Suspend the queue - when a queue is suspended it stops processing jobs - however already started jobs are finished (but not rescheduled).

T

take() - Method in class org.apache.sling.event.impl.jobs.queues.AbstractJobQueue
Get another job from the queue.
take() - Method in class org.apache.sling.event.impl.jobs.queues.OrderedJobQueue
 
take() - Method in class org.apache.sling.event.impl.jobs.queues.ParallelJobQueue
 
take() - Method in class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
THREAD_POOL - Static variable in class org.apache.sling.event.impl.support.Environment
Global thread pool.
TIMED_EVENT_NODE_TYPE - Static variable in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
 
TimedEventStatusProvider - Interface in org.apache.sling.event
This service provides the current timed events status.
TimedJobHandler - Class in org.apache.sling.event.impl
An event handler for timed events.
TimedJobHandler() - Constructor for class org.apache.sling.event.impl.TimedJobHandler
 
TimedJobHandler.ScheduleInfo - Class in org.apache.sling.event.impl
 
TimedJobHandler.ScheduleInfo(Event) - Constructor for class org.apache.sling.event.impl.TimedJobHandler.ScheduleInfo
 
TOPIC_JOB - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.TOPIC_JOB
TOPIC_JOB - Static variable in class org.apache.sling.event.jobs.JobUtil
The topic for jobs.
TOPIC_JOB_CANCELLED - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.TOPIC_JOB_CANCELLED
TOPIC_JOB_CANCELLED - Static variable in class org.apache.sling.event.jobs.JobUtil
Asynchronous notification event when a job is cancelled.
TOPIC_JOB_FAILED - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.TOPIC_JOB_FAILED
TOPIC_JOB_FAILED - Static variable in class org.apache.sling.event.jobs.JobUtil
Asynchronous notification event when a job failed.
TOPIC_JOB_FINISHED - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.TOPIC_JOB_FINISHED
TOPIC_JOB_FINISHED - Static variable in class org.apache.sling.event.jobs.JobUtil
Asynchronous notification event when a job is finished.
TOPIC_JOB_STARTED - Static variable in class org.apache.sling.event.EventUtil
Deprecated. Use JobUtil.TOPIC_JOB_STARTED
TOPIC_JOB_STARTED - Static variable in class org.apache.sling.event.jobs.JobUtil
Asynchronous notification event when a job is started.
TOPIC_TIMED_EVENT - Static variable in class org.apache.sling.event.EventUtil
The topic for timed events.
TopicRoundRobinJobQueue - Class in org.apache.sling.event.impl.jobs.queues
This queue acts similar to the parallel job queue.
TopicRoundRobinJobQueue(String, InternalQueueConfiguration, EnvironmentComponent, Scheduler) - Constructor for class org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue
 
TopicStatistics - Interface in org.apache.sling.event.jobs
Statistic information about a topic.
TopicStatisticsImpl - Class in org.apache.sling.event.impl.jobs
Implementation of the statistics.
TopicStatisticsImpl(String) - Constructor for class org.apache.sling.event.impl.jobs.TopicStatisticsImpl
Constructor.
toString() - Method in class org.apache.sling.event.EventPropertiesMap
 
toString(Event) - Static method in class org.apache.sling.event.EventUtil
Improved toString method for an Event.
toString() - Method in class org.apache.sling.event.impl.jobs.config.InternalQueueConfiguration
 
toString() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 

U

unbindThreadPool(EventingThreadPool) - Method in class org.apache.sling.event.impl.EnvironmentComponent
 
uniqueId - Variable in class org.apache.sling.event.impl.jobs.JobEvent
 
unlock() - Method in class org.apache.sling.event.impl.jobs.jcr.JCRJobEvent
 
unlock(Session, String) - Method in class org.apache.sling.event.impl.jobs.jcr.LockManager
Unlock the node at the given path.
unlock(JobEvent) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
Unlock the node for the event
unlock() - Method in class org.apache.sling.event.impl.jobs.JobEvent
 
update(Map<String, Object>) - Method in class org.apache.sling.event.impl.jobs.DefaultJobManager
Configure this component.
update(Map<String, Object>) - Method in class org.apache.sling.event.impl.jobs.jcr.LockManager
 
update(ComponentContext) - Method in class org.apache.sling.event.impl.jobs.jcr.PersistenceHandler
 
Utility - Class in org.apache.sling.event.impl.jobs
 
Utility() - Constructor for class org.apache.sling.event.impl.jobs.Utility
 

V

valueOf(String) - Static method in enum org.apache.sling.event.EventUtil.JobPriority
Deprecated. Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.JobManager.QueryType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.JobUtil.JobPriority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.QueueConfiguration.Type
Returns the enum constant of this type with the specified name.
values() - Method in class org.apache.sling.event.EventPropertiesMap
 
values() - Static method in enum org.apache.sling.event.EventUtil.JobPriority
Deprecated. Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.apache.sling.event.jobs.JobManager.QueryType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.apache.sling.event.jobs.JobUtil.JobPriority
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.apache.sling.event.jobs.QueueConfiguration.Type
Returns an array containing the constants of this enum type, in the order they're declared.

W

wakeUpJobQueue(String) - Method in class org.apache.sling.event.impl.jobs.jcr.JobStatusProviderImpl
Deprecated.  
wakeUpJobQueue(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Wake up the named job queue.
WebConsolePlugin - Class in org.apache.sling.event.impl.jobs.console
This is a webconsole plugin displaying the active queues, some statistics and the configurations.
WebConsolePlugin() - Constructor for class org.apache.sling.event.impl.jobs.console.WebConsolePlugin
 
writeEvent(Event, String) - Method in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Write an event to the repository.
writeEventProperties(Node, Event) - Static method in class org.apache.sling.event.impl.jobs.jcr.JCRHelper
Add all java properties as properties to the node.
writeLock - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
Sync lock
writeQueue - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
A local queue for writing received events into the repository.
writerSession - Variable in class org.apache.sling.event.impl.AbstractRepositoryEventHandler
The repository session to write into the repository.

A B C D E F G H I J K L M N O P Q R S T U V W

Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.