org.apache.stratos.cartridge.agent.registrant
Class RegistrantHealthChecker
java.lang.Object
org.apache.stratos.cartridge.agent.registrant.RegistrantHealthChecker
public class RegistrantHealthChecker
- extends Object
This health checker periodically checks the health of the Registrants
If a registrant is found to be unhealthy, then it is stopped. This task will also try to
connect to reactivate a registrant which was previously found to be unhealthy.
If the Elastic Load Balancer (ELB) is not running, this health checker will not continue with
registrant health checks since it is futile to try to connect the registrants to the
unavailable ELB.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistrantHealthChecker
public RegistrantHealthChecker(RegistrantDatabase database,
ClusteringClient clusteringClient,
org.apache.axis2.context.ConfigurationContext configurationContext,
int healthCheckInterval,
int threadPoolSize)
startAll
public void startAll()
start
public void start(Registrant registrant)
setELBRunning
public void setELBRunning(boolean ELBRunning)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.