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

Method stop

basex-api/src/main/java/org/basex/BaseXHTTP.java:187–191  ·  view source on GitHub ↗

Stops the server. @throws IOException I/O exception

()

Source from the content-addressed store, hash-verified

185 * @throws IOException I/O exception
186 */
187 public void stop() throws IOException {
188 final String host = soptions.get(StaticOptions.SERVERHOST);
189 final int stopPort = soptions.get(StaticOptions.STOPPORT);
190 if(stopPort > 0) stop(host.isEmpty() ? S_LOCALHOST : host, stopPort);
191 }
192
193 /**
194 * Locates the specified configuration file.

Callers 7

BaseXHTTPMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
runMethod · 0.45

Calls 11

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

Tested by

no test coverage detected