org.apache.sling.event.impl
Class EventingThreadPool

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

@Service(value=EventingThreadPool.class)
public class EventingThreadPool
extends Object
implements 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(Runnable runnable)
          Execute a runnable
 ThreadPoolConfig getConfiguration()
          The thread pool configuration.
 String getName()
          The name of the thread pool.
 
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(Runnable runnable)
Description copied from interface: ThreadPool
Execute a runnable

Specified by:
execute in interface ThreadPool
Parameters:
runnable - The Runnable to execute
See Also:
ThreadPool.execute(java.lang.Runnable)

getConfiguration

public ThreadPoolConfig getConfiguration()
Description copied from interface: ThreadPool
The thread pool configuration.

Specified by:
getConfiguration in interface ThreadPool
See Also:
ThreadPool.getConfiguration()

getName

public String getName()
Description copied from interface: ThreadPool
The name of the thread pool.

Specified by:
getName in interface ThreadPool
See Also:
ThreadPool.getName()


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