public class ServiceEngine extends Object implements AutoCloseable
Constructor and Description |
---|
ServiceEngine(WorkManager manager,
BootStrapContext context,
boolean allowPortHunting,
boolean isDistributedMode) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Controller |
getController() |
DataConnectionCreator |
getDataConnectionCreator() |
int |
getUserPort() |
CoordinationProtos.DrillbitEndpoint |
start() |
public ServiceEngine(WorkManager manager, BootStrapContext context, boolean allowPortHunting, boolean isDistributedMode) throws DrillbitStartupException
DrillbitStartupException
public CoordinationProtos.DrillbitEndpoint start() throws DrillbitStartupException, UnknownHostException
public int getUserPort()
public DataConnectionCreator getDataConnectionCreator()
public Controller getController()
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 1970 The Apache Software Foundation. All rights reserved.