| Modifier and Type | Class and Description |
|---|---|
static class |
TopProcessGroupManager.RunReason |
| Modifier and Type | Field and Description |
|---|---|
protected ActivityRunningService |
activityService |
protected ConnectionCapManager |
connectionCapManager |
| Constructor and Description |
|---|
TopProcessGroupManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCaches()
Flush tous les caches des launchers
|
void |
destroy() |
List<TopProcessGroupLauncher> |
getAllGroupLaunchers() |
int |
getExecutingThreadsCount() |
TopProcessGroupLauncher |
getLauncher(String fqn) |
TopProcessGroupLauncher |
getLauncher(TopProcessMetaModel topProcess) |
List<ActivityThreadInfos> |
getThreadsInfos() |
boolean |
hasActivityPending() |
TopProcessGroupManager.RunReason |
hasRoom(TopProcessMetaModel topProcess)
Vérifie si il y a encore de la place dans le launcher du groupe
|
void |
restart(TopProcessMetaModel topProcess,
int nbMax,
int priority) |
void |
setMaxConcurrentActivitiesForGroup(String aGroupName,
int nb) |
void |
setPriorityForGroup(String aGroupName,
int aPrio) |
void |
start() |
void |
start(TopProcessMetaModel topProcess) |
void |
startAllGroups() |
void |
stop() |
void |
stop(TopProcessMetaModel topProcess) |
void |
stopAllGroups() |
@Autowired protected ActivityRunningService activityService
@Autowired protected ConnectionCapManager connectionCapManager
public void start()
throws Exception
public void stop()
throws Exception
public void destroy()
throws Exception
public void clearCaches()
public int getExecutingThreadsCount()
public void restart(TopProcessMetaModel topProcess, int nbMax, int priority) throws Exception
Exceptionpublic void start(TopProcessMetaModel topProcess) throws Exception
Exceptionpublic void stop(TopProcessMetaModel topProcess) throws Exception
Exceptionpublic TopProcessGroupLauncher getLauncher(String fqn)
public TopProcessGroupLauncher getLauncher(TopProcessMetaModel topProcess)
public List<TopProcessGroupLauncher> getAllGroupLaunchers()
public boolean hasActivityPending()
public TopProcessGroupManager.RunReason hasRoom(TopProcessMetaModel topProcess)
topProcess - public List<ActivityThreadInfos> getThreadsInfos()
public void setMaxConcurrentActivitiesForGroup(String aGroupName, int nb)
public void setPriorityForGroup(String aGroupName, int aPrio)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.