org.apache.catalina.ant

Class JKStatusUpdateTask

public class JKStatusUpdateTask extends AbstractCatalinaTask

Ant task that implements the /status command, supported by the mod_jk status (1.2.9) application.

Since: 5.5.9

Version: $Revision: 467222 $

Author: Peter Rossbach

Constructor Summary
JKStatusUpdateTask()
Method Summary
protected voidcheckParameter()
check correct lb and worker pararmeter
voidexecute()
Execute the requested operation.
intgetInternalid()
BooleangetLbForceSession()
IntegergetLbRecovertime()
IntegergetLbRetries()
BooleangetLbStickySession()
StringgetWorker()
StringgetWorkerClusterDomain()
BooleangetWorkerDisabled()
StringgetWorkerLb()
IntegergetWorkerLoadFactor()
StringgetWorkerRedirect()
BooleangetWorkerStopped()
StringgetWorkerType()
voidsetInternalid(int internalid)
voidsetLbForceSession(Boolean lbForceSession)
voidsetLbRecovertime(Integer lbRecovertime)
voidsetLbRetries(Integer lbRetries)
voidsetLbStickySession(Boolean lbStickySession)
voidsetWorker(String worker)
voidsetWorkerClusterDomain(String workerClusterDomain)
voidsetWorkerDisabled(Boolean workerDisabled)
voidsetWorkerLb(String workerLb)
voidsetWorkerLoadFactor(Integer workerLoadFactor)
voidsetWorkerRedirect(String workerRedirect)
voidsetWorkerStopped(Boolean workerStopped)
voidsetWorkerType(String workerType)

Constructor Detail

JKStatusUpdateTask

public JKStatusUpdateTask()

Method Detail

checkParameter

protected void checkParameter()
check correct lb and worker pararmeter

execute

public void execute()
Execute the requested operation.

Throws: BuildException if an error occurs

getInternalid

public int getInternalid()

Returns: Returns the internalid.

getLbForceSession

public Boolean getLbForceSession()

Returns: Returns the lbForceSession.

getLbRecovertime

public Integer getLbRecovertime()

Returns: Returns the lbRecovertime.

getLbRetries

public Integer getLbRetries()

Returns: Returns the lbRetries.

getLbStickySession

public Boolean getLbStickySession()

Returns: Returns the lbStickySession.

getWorker

public String getWorker()

Returns: Returns the worker.

getWorkerClusterDomain

public String getWorkerClusterDomain()

Returns: Returns the workerClusterDomain.

getWorkerDisabled

public Boolean getWorkerDisabled()

Returns: Returns the workerDisabled.

getWorkerLb

public String getWorkerLb()

Returns: Returns the workerLb.

getWorkerLoadFactor

public Integer getWorkerLoadFactor()

Returns: Returns the workerLoadFactor.

getWorkerRedirect

public String getWorkerRedirect()

Returns: Returns the workerRedirect.

getWorkerStopped

public Boolean getWorkerStopped()

Returns: Returns the workerStopped.

getWorkerType

public String getWorkerType()

Returns: Returns the workerType.

setInternalid

public void setInternalid(int internalid)

Parameters: internalid The internalid to set.

setLbForceSession

public void setLbForceSession(Boolean lbForceSession)

Parameters: lbForceSession The lbForceSession to set.

setLbRecovertime

public void setLbRecovertime(Integer lbRecovertime)

Parameters: lbRecovertime The lbRecovertime to set.

setLbRetries

public void setLbRetries(Integer lbRetries)

Parameters: lbRetries The lbRetries to set.

setLbStickySession

public void setLbStickySession(Boolean lbStickySession)

Parameters: lbStickySession The lbStickySession to set.

setWorker

public void setWorker(String worker)

Parameters: worker The worker to set.

setWorkerClusterDomain

public void setWorkerClusterDomain(String workerClusterDomain)

Parameters: workerClusterDomain The workerClusterDomain to set.

setWorkerDisabled

public void setWorkerDisabled(Boolean workerDisabled)

Parameters: workerDisabled The workerDisabled to set.

setWorkerLb

public void setWorkerLb(String workerLb)

Parameters: workerLb The workerLb to set.

setWorkerLoadFactor

public void setWorkerLoadFactor(Integer workerLoadFactor)

Parameters: workerLoadFactor The workerLoadFactor to set.

setWorkerRedirect

public void setWorkerRedirect(String workerRedirect)

Parameters: workerRedirect The workerRedirect to set.

setWorkerStopped

public void setWorkerStopped(Boolean workerStopped)

Parameters: workerStopped The workerStopped to set.

setWorkerType

public void setWorkerType(String workerType)

Parameters: workerType The workerType to set.

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.