public class MasterMain extends ServiceMain
Bootstrap because we want more control over logging etc.| Constructor and Description |
|---|
MasterMain(CuratorClientFactory curatorClientFactory,
MasterConfig masterConfig,
com.spotify.helios.common.LoggingConfig loggingConfig) |
MasterMain(CuratorClientFactory curatorClientFactory,
MasterParser parser) |
MasterMain(CuratorClientFactory curatorClientFactory,
String[] args) |
MasterMain(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String... args) |
protected void |
shutDown() |
protected void |
startUp() |
createEnvironment, setupLoggingpublic MasterMain(String[] args) throws net.sourceforge.argparse4j.inf.ArgumentParserException
net.sourceforge.argparse4j.inf.ArgumentParserExceptionpublic MasterMain(CuratorClientFactory curatorClientFactory, String[] args) throws net.sourceforge.argparse4j.inf.ArgumentParserException
net.sourceforge.argparse4j.inf.ArgumentParserExceptionpublic MasterMain(CuratorClientFactory curatorClientFactory, MasterParser parser)
public MasterMain(CuratorClientFactory curatorClientFactory, MasterConfig masterConfig, com.spotify.helios.common.LoggingConfig loggingConfig)
protected void startUp()
throws Exception
startUp in class com.google.common.util.concurrent.AbstractIdleServiceExceptionprotected void shutDown()
throws Exception
shutDown in class com.google.common.util.concurrent.AbstractIdleServiceExceptionpublic static void main(String... args)
Copyright © 2017. All rights reserved.