@Service(value=EventingThreadPool.class) public class EventingThreadPool extends Object implements org.apache.sling.commons.threads.ThreadPool
Constructor and Description |
---|
EventingThreadPool() |
EventingThreadPool(org.apache.sling.commons.threads.ThreadPoolManager tpm,
int poolSize) |
Modifier and Type | Method and Description |
---|---|
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() |
void |
release() |
public EventingThreadPool()
public EventingThreadPool(org.apache.sling.commons.threads.ThreadPoolManager tpm, int poolSize)
public void release()
@Activate @Modified protected void activate(Map<String,Object> props)
@Deactivate protected void deactivate()
public void execute(Runnable runnable)
execute
in interface org.apache.sling.commons.threads.ThreadPool
ThreadPool.execute(java.lang.Runnable)
public org.apache.sling.commons.threads.ThreadPoolConfig getConfiguration()
getConfiguration
in interface org.apache.sling.commons.threads.ThreadPool
ThreadPool.getConfiguration()
public String getName()
getName
in interface org.apache.sling.commons.threads.ThreadPool
ThreadPool.getName()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.