public class ApplicationStatusServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
ApplicationStatusServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
boolean |
hasErrors()
We go through all the johnson events and see if we find any ERROR or FATAL message.
|
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.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public boolean hasErrors()
public boolean isUserCacheInitialized()
Copyright © 2002-2015 Atlassian. All Rights Reserved.