org.apache.sling.event.impl
Class EventingThreadPool

java.lang.Object
  extended by org.apache.sling.event.impl.EventingThreadPool
All Implemented Interfaces:
org.apache.sling.commons.threads.ThreadPool

@Service(value=EventingThreadPool.class)
public class EventingThreadPool
extends Object
implements org.apache.sling.commons.threads.ThreadPool

The configurable eventing thread pool.


Constructor Summary
EventingThreadPool()
           
 
Method Summary
protected  void activate(Map<String,Object> props)
          Activate this component.
protected  void deactivate()
          Deactivate this component.
 void execute(Runnable runnable)
           
 org.apache.sling.commons.threads.ThreadPoolConfig getConfiguration()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventingThreadPool

public EventingThreadPool()
Method Detail

activate

@Activate
protected void activate(Map<String,Object> props)
Activate this component.


deactivate

@Deactivate
protected void deactivate()
Deactivate this component.


execute

public void execute(Runnable runnable)
Specified by:
execute in interface org.apache.sling.commons.threads.ThreadPool
See Also:
ThreadPool.execute(java.lang.Runnable)

getConfiguration

public org.apache.sling.commons.threads.ThreadPoolConfig getConfiguration()
Specified by:
getConfiguration in interface org.apache.sling.commons.threads.ThreadPool
See Also:
ThreadPool.getConfiguration()

getName

public String getName()
Specified by:
getName in interface org.apache.sling.commons.threads.ThreadPool
See Also:
ThreadPool.getName()


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