public class IsAliveCommand extends Command
Modifier and Type | Field and Description |
---|---|
java.lang.String |
cachedMessage |
boolean |
cachedStatus |
IsAliveCommand |
config |
delegate, queryState, runningQueries, startingQueries
Constructor and Description |
---|
IsAliveCommand(IsAliveCommand config) |
Modifier and Type | Method and Description |
---|---|
void |
configure()
Build the configuration
|
void |
execute(java.lang.String pathInfo,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Execute the command
|
protected void |
fillServletRequest(java.lang.String query,
FakeServlet.FakeServletRequest req) |
void |
onDeinit()
When this is called, this command is not used anymore, and the lock has been released.
|
void |
waitForStartingQueries()
Called at the beginning of a dynamic reconfiguration cycle.
|
onPreReconfiguration, onQueryDone, onQueryStarted, onQueryStarting, onReconfigurationStarting, removeJettyStuff, sendError, setSearchAPIDelegate
public IsAliveCommand config
public boolean cachedStatus
public java.lang.String cachedMessage
public IsAliveCommand(IsAliveCommand config)
protected void fillServletRequest(java.lang.String query, FakeServlet.FakeServletRequest req) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void configure()
Command
public void onDeinit()
Command
public void waitForStartingQueries()
Command
waitForStartingQueries
in class Command
public void execute(java.lang.String pathInfo, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
Command
Copyright © 2013 Dassault Systèmes, All Rights Reserved.