org.apache.hadoop.chukwa.datacollection.collector.servlet
Class CommitCheckServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.hadoop.chukwa.datacollection.collector.servlet.CommitCheckServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CommitCheckServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
static String DEFAULT_PATH
           
protected static org.apache.log4j.Logger log
           
static String PURGEDELAY_OPT
           
static String SCANPATHS_OPT
           
static String SCANPERIOD_OPT
           
 
Constructor Summary
CommitCheckServlet(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 void destroy()
           
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected  void doTrace(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 void init(javax.servlet.ServletConfig servletConf)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log

SCANPERIOD_OPT

public static final String SCANPERIOD_OPT
See Also:
Constant Field Values

PURGEDELAY_OPT

public static final String PURGEDELAY_OPT
See Also:
Constant Field Values

SCANPATHS_OPT

public static final String SCANPATHS_OPT
See Also:
Constant Field Values

DEFAULT_PATH

public static final String DEFAULT_PATH
See Also:
Constant Field Values
Constructor Detail

CommitCheckServlet

public CommitCheckServlet(org.apache.hadoop.conf.Configuration conf)
Method Detail

init

public void init(javax.servlet.ServletConfig servletConf)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doTrace

protected void doTrace(javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse resp)
                throws javax.servlet.ServletException,
                       IOException
Overrides:
doTrace in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet


Copyright © 2011 Apache Software Foundation. All Rights Reserved.