MCPcopy Create free account
hub / github.com/apache/nutch / start

Method start

src/java/org/apache/nutch/api/NutchServer.java:299–310  ·  view source on GitHub ↗

Starts the Nutch server printing some logging to the log file.

()

Source from the content-addressed store, hash-verified

297 *
298 */
299 public void start() {
300 LOG.info("Starting NutchServer on port: {} with logging level: {} ...",
301 port, logLevel);
302 try {
303 component.start();
304 } catch (Exception e) {
305 throw new IllegalStateException("Cannot start server!", e);
306 }
307 LOG.info("Started NutchServer on port {}", port);
308 running = true;
309 started = System.currentTimeMillis();
310 }
311
312 /**
313 * Safety and convenience method to determine whether or not it is safe to

Callers 11

startServerMethod · 0.95
setUpMethod · 0.45
testMultiProcessMethod · 0.45
callMethod · 0.45
startServerMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
runMethod · 0.45
scheduleServerStopMethod · 0.45
execMethod · 0.45
startServerMethod · 0.45

Calls

no outgoing calls

Tested by 6

setUpMethod · 0.36
testMultiProcessMethod · 0.36
callMethod · 0.36
startServerMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36