java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.catalina.ant.BaseRedirectorHelperTask
org.apache.catalina.ant.AbstractCatalinaTask
org.apache.jk.status.JkStatusResetTask
- public class JkStatusResetTask
- extends org.apache.catalina.ant.AbstractCatalinaTask
Ant task that implements the /jkstatus?cmd=reset&l=loadbalancer command, supported by the
mod_jk status (1.2.15) application.
- Since:
- 5.5.13
- Version:
- $Revision: 1.3 $
| Methods inherited from class org.apache.catalina.ant.BaseRedirectorHelperTask |
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workerLb
private java.lang.String workerLb
JkStatusResetTask
public JkStatusResetTask()
getWorkerLb
public java.lang.String getWorkerLb()
setWorkerLb
public void setWorkerLb(java.lang.String workerLb)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Execute the requested operation.
createLink
private java.lang.StringBuffer createLink()
- Create jkstatus reset link
- load balance example:
http://localhost/jkstatus?cmd=reset&w=loadbalancer&mime=txt
checkParameter
protected void checkParameter()
- check correct lb and worker pararmeter