java.lang.Object |
↳ |
javax.servlet.GenericServlet |
|
↳ |
javax.servlet.http.HttpServlet |
|
|
↳ |
com.atlassian.jira.servlet.ApplicationStatusServlet |
Class Overview
Servlet that provides application status information.
Summary
Protected Methods |
void
|
doGet(HttpServletRequest req, HttpServletResponse resp)
|
ComponentManager.State
|
getState()
|
boolean
|
isUserCacheInitialized()
We want to know if the cache of users is initialized so users can login, if this cache is not populated is
useless to tell the load balancer we are ready There are certain phases of initialization that Pico could tell me
that everything is good and the ComponentAccessor not returning me the proper reference.
|
[Expand]
Inherited Methods |
From class
javax.servlet.http.HttpServlet
void
|
doDelete(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
doGet(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
doHead(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
doOptions(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
doPost(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
doPut(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
doTrace(HttpServletRequest arg0, HttpServletResponse arg1)
|
long
|
getLastModified(HttpServletRequest arg0)
|
void
|
service(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
service(ServletRequest arg0, ServletResponse arg1)
|
|
From class
javax.servlet.GenericServlet
void
|
destroy()
|
String
|
getInitParameter(String arg0)
|
Enumeration<String>
|
getInitParameterNames()
|
ServletConfig
|
getServletConfig()
|
ServletContext
|
getServletContext()
|
String
|
getServletInfo()
|
String
|
getServletName()
|
void
|
init(ServletConfig arg0)
|
void
|
init()
|
void
|
log(String arg0)
|
void
|
log(String arg0, Throwable arg1)
|
abstract
void
|
service(ServletRequest arg0, ServletResponse arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
javax.servlet.Servlet
void
|
destroy()
|
ServletConfig
|
getServletConfig()
|
String
|
getServletInfo()
|
void
|
init(ServletConfig arg0)
|
void
|
service(ServletRequest arg0, ServletResponse arg1)
|
|
From interface
javax.servlet.ServletConfig
|
Public Constructors
public
ApplicationStatusServlet
()
Protected Methods
protected
void
doGet
(HttpServletRequest req, HttpServletResponse resp)
protected
boolean
isUserCacheInitialized
()
We want to know if the cache of users is initialized so users can login, if this cache is not populated is
useless to tell the load balancer we are ready There are certain phases of initialization that Pico could tell me
that everything is good and the ComponentAccessor not returning me the proper reference. That is why we need to
try/catch to avoid any weird exception sent to the load balancer
Returns
- true if the cache is populated, false if not