@Named @Singleton public class Main extends DeployerControl implements MainMBean
deployerName, executor, injector, launchPropertiesList, log, OBJECT_NAME, sigar| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
void |
doMain(String[] args) |
protected void |
download() |
String[] |
getChildNames() |
long |
getChildPid(String childName) |
static MergeableProperties |
getChildProperties(MergeableProperties launchProps,
String prefix,
int index) |
long |
getFirstJavaChildPid(long nextChild) |
long |
getFirstJavaChildPid(String childName) |
static long |
getStatisticsInterval() |
static String |
getStatisticsUrl() |
String |
getStatus() |
static void |
main(String[] args) |
void |
restartChild(String childName) |
protected void |
runHooks(String hookPrefix,
List<MergeableProperties> propertiesList,
boolean failFast) |
void |
stop() |
protected void |
usage(String message) |
protected void |
usage(Throwable e) |
findChildPids, findChildPids, findOldDeployerPid, findOldDeployerPids, getJMXConnector, getPidsExcludingPids, getURLProperties, killWithQuery, populateProperties, setupLogging, stopOldpublic static void main(String[] args) throws URISyntaxException
URISyntaxExceptionpublic void doMain(String[] args)
public void stop()
stop in interface MainMBeanstop in class DeployerControlprotected void usage(String message)
usage in class DeployerControlprotected void usage(Throwable e)
public static String getStatisticsUrl()
public static long getStatisticsInterval()
public String[] getChildNames()
getChildNames in interface MainMBeanpublic long getChildPid(String childName)
getChildPid in interface MainMBeanpublic void restartChild(String childName)
restartChild in interface MainMBeanprotected void download()
protected void runHooks(String hookPrefix, List<MergeableProperties> propertiesList, boolean failFast) throws Exception
Exceptionpublic static MergeableProperties getChildProperties(MergeableProperties launchProps, String prefix, int index)
public long getFirstJavaChildPid(String childName)
getFirstJavaChildPid in interface MainMBeanpublic long getFirstJavaChildPid(long nextChild)
Copyright © 2015. All rights reserved.