public class TaskQuiescingServlet
extends javax.servlet.http.HttpServlet
This is used by zero downtime upgrades feature in cloud.
Modifier and Type | Field and Description |
---|---|
static String |
CANCEL_TASKS |
static String |
DISABLE_QUEUES |
static int |
SC_TASKS_STILL_RUNNING |
static int |
SC_UNCANCELABLE_TASKS_STILL_RUNNING |
Constructor and Description |
---|
TaskQuiescingServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles requests to stop the task manager and scheduler.
|
doDelete, doHead, doOptions, doPost, doTrace, getLastModified, service, service
public static final int SC_UNCANCELABLE_TASKS_STILL_RUNNING
public static final int SC_TASKS_STILL_RUNNING
public static final String DISABLE_QUEUES
public static final String CANCEL_TASKS
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
For operation specific response codes see quiesce(javax.servlet.http.HttpServletRequest)
or resume()
Response body: Json representation of a ResponseObject
doPut
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2002-2016 Atlassian. All Rights Reserved.