Package org.apache.jetspeed.healthcheck.validators

Examples of org.apache.jetspeed.healthcheck.validators.HealthCheckValidator.validate()


                HealthCheckValidatorResult result = null;
                // execute the validator until it succeeds or until the
                // number of retries runs out
                for (int i = 0; i <= hcv.getNumberOfRetries(); i++)
                {
                    result = hcv.validate();
                    if (isDebugEnabled)
                    {
                        log.debug("Validator execution: " +
                                  (result.getHealthCheckResult() == HealthCheckValidatorResult.VALIDATOR_SUCCEEDED));
                    }
View Full Code Here


                HealthCheckValidatorResult result = null;
                // execute the validator until it succeeds or until the
                // number of retries runs out
                for (int i = 0; i <= hcv.getNumberOfRetries(); i++)
                {
                    result = hcv.validate();
                    if (isDebugEnabled)
                    {
                        log.debug("Validator execution: " +
                                  (result.getHealthCheckResult() == HealthCheckValidatorResult.VALIDATOR_SUCCEEDED));
                    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.