public class JKStatusUpdateTask extends AbstractCatalinaTask
/status
command, supported by the
mod_jk status (1.2.9) application.charset, password, url, username
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
JKStatusUpdateTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkParameter()
check correct lb and worker parameter
|
void |
execute()
Execute the requested operation.
|
int |
getInternalid() |
java.lang.Boolean |
getLbForceSession() |
java.lang.Integer |
getLbRecovertime() |
java.lang.Integer |
getLbRetries() |
java.lang.Boolean |
getLbStickySession() |
java.lang.String |
getWorker() |
java.lang.String |
getWorkerClusterDomain() |
java.lang.Boolean |
getWorkerDisabled() |
java.lang.String |
getWorkerLb() |
java.lang.Integer |
getWorkerLoadFactor() |
java.lang.String |
getWorkerRedirect() |
java.lang.Boolean |
getWorkerStopped() |
java.lang.String |
getWorkerType() |
void |
setInternalid(int internalid) |
void |
setLbForceSession(java.lang.Boolean lbForceSession) |
void |
setLbRecovertime(java.lang.Integer lbRecovertime) |
void |
setLbRetries(java.lang.Integer lbRetries) |
void |
setLbStickySession(java.lang.Boolean lbStickySession) |
void |
setWorker(java.lang.String worker) |
void |
setWorkerClusterDomain(java.lang.String workerClusterDomain) |
void |
setWorkerDisabled(java.lang.Boolean workerDisabled) |
void |
setWorkerLb(java.lang.String workerLb) |
void |
setWorkerLoadFactor(java.lang.Integer workerLoadFactor) |
void |
setWorkerRedirect(java.lang.String workerRedirect) |
void |
setWorkerStopped(java.lang.Boolean workerStopped) |
void |
setWorkerType(java.lang.String workerType) |
execute, execute, getCharset, getPassword, getUrl, getUsername, setCharset, setPassword, setUrl, setUsername
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public int getInternalid()
public void setInternalid(int internalid)
internalid
- The internalid to set.public java.lang.Boolean getLbForceSession()
public void setLbForceSession(java.lang.Boolean lbForceSession)
lbForceSession
- The lbForceSession to set.public java.lang.Integer getLbRecovertime()
public void setLbRecovertime(java.lang.Integer lbRecovertime)
lbRecovertime
- The lbRecovertime to set.public java.lang.Integer getLbRetries()
public void setLbRetries(java.lang.Integer lbRetries)
lbRetries
- The lbRetries to set.public java.lang.Boolean getLbStickySession()
public void setLbStickySession(java.lang.Boolean lbStickySession)
lbStickySession
- The lbStickySession to set.public java.lang.String getWorker()
public void setWorker(java.lang.String worker)
worker
- The worker to set.public java.lang.String getWorkerType()
public void setWorkerType(java.lang.String workerType)
workerType
- The workerType to set.public java.lang.String getWorkerLb()
public void setWorkerLb(java.lang.String workerLb)
workerLb
- The workerLb to set.public java.lang.String getWorkerClusterDomain()
public void setWorkerClusterDomain(java.lang.String workerClusterDomain)
workerClusterDomain
- The workerClusterDomain to set.public java.lang.Boolean getWorkerDisabled()
public void setWorkerDisabled(java.lang.Boolean workerDisabled)
workerDisabled
- The workerDisabled to set.public java.lang.Boolean getWorkerStopped()
public void setWorkerStopped(java.lang.Boolean workerStopped)
workerStopped
- The workerStopped to set.public java.lang.Integer getWorkerLoadFactor()
public void setWorkerLoadFactor(java.lang.Integer workerLoadFactor)
workerLoadFactor
- The workerLoadFactor to set.public java.lang.String getWorkerRedirect()
public void setWorkerRedirect(java.lang.String workerRedirect)
workerRedirect
- The workerRedirect to set.public void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursprotected void checkParameter()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.