|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.core.concurrency.LatchedServiceController
public class LatchedServiceController
| Nested Class Summary | |
|---|---|
static class |
LatchedServiceController.LatchedService
|
| Constructor Summary | |
|---|---|
LatchedServiceController(java.util.Collection<? extends LatchedServiceController.LatchedService> services)
Creates the controller that will be responsible for launching the services in a thread pool. |
|
| Method Summary | |
|---|---|
void |
executeServices()
|
int |
getThreadPoolSize()
|
void |
setThreadPoolSize(int threadPoolSize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LatchedServiceController(java.util.Collection<? extends LatchedServiceController.LatchedService> services)
size of the thread pool) but if there are dependencies among
services, you must ensure services appear after their dependencies in the list.
services - list of services that will be invoked| Method Detail |
|---|
public int getThreadPoolSize()
public void setThreadPoolSize(int threadPoolSize)
public void executeServices()
throws LatchedServiceCircularityException
LatchedServiceCircularityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||