MCPcopy Create free account
hub / github.com/BaseXdb/basex / stop

Method stop

basex-core/src/main/java/org/basex/BaseXServer.java:181–186  ·  view source on GitHub ↗

Stops the server. @throws IOException I/O exception

()

Source from the content-addressed store, hash-verified

179 * @throws IOException I/O exception
180 */
181 public void stop() throws IOException {
182 final StaticOptions sopts = context.soptions;
183 final int port = sopts.get(StaticOptions.SERVERPORT);
184 final String host = sopts.get(StaticOptions.SERVERHOST);
185 stop(host.isEmpty() ? S_LOCALHOST : host, port);
186 }
187
188 /**
189 * Shuts down the server.

Callers 6

mainMethod · 0.95
runMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
BaseXServerMethod · 0.95

Calls 10

parentMethod · 0.95
touchMethod · 0.95
sleepMethod · 0.95
existsMethod · 0.95
debugMethod · 0.95
deleteMethod · 0.95
stopFileMethod · 0.80
mdMethod · 0.80
getMethod · 0.65
isEmptyMethod · 0.45

Tested by

no test coverage detected