public class MasterService
extends com.google.common.util.concurrent.AbstractIdleService
| Constructor and Description |
|---|
MasterService(MasterConfig config,
io.dropwizard.setup.Environment environment,
CuratorClientFactory curatorClientFactory)
Create a new service instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
shutDown() |
protected void |
startUp() |
public MasterService(MasterConfig config, io.dropwizard.setup.Environment environment, CuratorClientFactory curatorClientFactory) throws io.dropwizard.configuration.ConfigurationException, IOException, InterruptedException
config - The service configuration.environment - The DropWizard environment.curatorClientFactory - The zookeeper curator factory.io.dropwizard.configuration.ConfigurationException - If there is a problem with the DropWizard configuration.IOException - IOExceptionInterruptedException - InterruptedExceptionCopyright © 2017. All rights reserved.