use of org.apache.druid.java.util.common.lifecycle.Lifecycle in project druid by druid-io.
the class ServerRunnable method run.
@Override
public void run() {
final Injector injector = makeInjector(getNodeRoles(getProperties()));
final Lifecycle lifecycle = initLifecycle(injector);
try {
lifecycle.join();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
Aggregations