public class HarvesterServlet
extends javax.servlet.http.HttpServlet
implements java.lang.Runnable
Constructor and Description |
---|
HarvesterServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
When the thread is destroyed, sets the Harvester.keepRunning flag to false.
|
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet.
|
void |
run()
Runs the Harvester main program in a separate thread.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void run()
run
in interface java.lang.Runnable
Copyright © 2020 Regents of the University of California. All Rights Reserved.