MCPcopy Index your code
hub / github.com/questdb/questdb / main

Method main

core/src/main/java/io/questdb/ServerMain.java:136–154  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

134 }
135
136 public static void main(String[] args) {
137 try {
138 new ServerMain(args).start(true);
139 } catch (Bootstrap.BootstrapException e) {
140 if (e.isSilentStacktrace()) {
141 System.err.println(e.getMessage());
142 } else {
143 //noinspection CallToPrintStackTrace
144 e.printStackTrace();
145 }
146 LogFactory.closeInstance();
147 System.exit(55);
148 } catch (Throwable thr) {
149 //noinspection CallToPrintStackTrace
150 thr.printStackTrace();
151 LogFactory.closeInstance();
152 System.exit(55);
153 }
154 }
155
156 public static @NotNull String propertyPathToEnvVarName(@NotNull String propertyPath) {
157 return "QDB_" + propertyPath.replace('.', '_').toUpperCase();

Callers

nothing calls this directly

Calls 5

closeInstanceMethod · 0.95
isSilentStacktraceMethod · 0.80
startMethod · 0.45
printlnMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected