org.apache.stratos.cartridge.agent.registrant
Class Registrant
java.lang.Object
org.apache.stratos.cartridge.agent.registrant.Registrant
- All Implemented Interfaces:
- Serializable
public class Registrant
- extends Object
- implements Serializable
This class represents a process which registers itself with this Cartridge Agent
- See Also:
- Serialized Form
Registrant
public Registrant()
getService
public String getService()
getTenantRange
public String getTenantRange()
setTenantRange
public void setTenantRange(String tenantRange)
setService
public void setService(String service)
getHostName
public String getHostName()
setHostName
public void setHostName(String hostName)
getPortMappings
public PortMapping[] getPortMappings()
setPortMappings
public void setPortMappings(PortMapping[] portMappings)
getKey
public String getKey()
setKey
public void setKey(String key)
getMinInstanceCount
public int getMinInstanceCount()
setMinInstanceCount
public void setMinInstanceCount(int minInstanceCount)
getMaxInstanceCount
public int getMaxInstanceCount()
setMaxInstanceCount
public void setMaxInstanceCount(int maxInstanceCount)
retrieveClusterDomain
public String retrieveClusterDomain()
start
public void start(org.apache.axis2.clustering.ClusteringAgent clusteringAgent)
throws org.apache.axis2.clustering.ClusteringFault
- Throws:
org.apache.axis2.clustering.ClusteringFault
stop
public void stop()
running
public boolean running()
getRemoteHost
public String getRemoteHost()
setRemoteHost
public void setRemoteHost(String remoteHost)
getMaxRequestsPerSecond
public int getMaxRequestsPerSecond()
setMaxRequestsPerSecond
public void setMaxRequestsPerSecond(int maxRequestsPerSecond)
getRoundsToAverage
public int getRoundsToAverage()
setRoundsToAverage
public void setRoundsToAverage(int roundsToAverage)
getAlarmingUpperRate
public double getAlarmingUpperRate()
setAlarmingUpperRate
public void setAlarmingUpperRate(double alarmingUpperRate)
getAlarmingLowerRate
public double getAlarmingLowerRate()
setAlarmingLowerRate
public void setAlarmingLowerRate(double alarmingLowerRate)
getScaleDownFactor
public double getScaleDownFactor()
setScaleDownFactor
public void setScaleDownFactor(double scaleDownFactor)
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.