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 java.lang.Object
implements org.apache.sling.commons.threads.ThreadPool

The configurable eventing thread pool.


Constructor Summary
EventingThreadPool()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext ctx)
          Activate this component.
protected  void deactivate(org.osgi.service.component.ComponentContext context)
          Deactivate this component.
 void execute(java.lang.Runnable runnable)
           
 org.apache.sling.commons.threads.ThreadPoolConfig getConfiguration()
           
 java.lang.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

protected void activate(org.osgi.service.component.ComponentContext ctx)
Activate this component.

Parameters:
context -

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext context)
Deactivate this component.

Parameters:
context -

execute

public void execute(java.lang.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 java.lang.String getName()
Specified by:
getName in interface org.apache.sling.commons.threads.ThreadPool
See Also:
ThreadPool.getName()


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