org.apache.sling.hc.support.impl
Class SlingRequestStatusHealthCheck
java.lang.Object
org.apache.sling.hc.support.impl.SlingRequestStatusHealthCheck
- All Implemented Interfaces:
- org.apache.sling.hc.api.HealthCheck
@Properties(value={@Property(name="hc.name"),@Property(name="hc.tags",unbounded=ARRAY),@Property(name="hc.mbean.name")})
@Service(value=org.apache.sling.hc.api.HealthCheck.class)
public class SlingRequestStatusHealthCheck- extends Object
- implements org.apache.sling.hc.api.HealthCheck
HealthCheck that checks the HTTP status of Sling requests.
Typically used to check that a freshly installed Sling-based system
is in good shape, contains all required content etc.
| Fields inherited from interface org.apache.sling.hc.api.HealthCheck |
MBEAN_NAME, NAME, TAGS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlingRequestStatusHealthCheck
public SlingRequestStatusHealthCheck()
activate
@Activate
public void activate(Map<String,Object> properties)
execute
public org.apache.sling.hc.api.Result execute()
- Specified by:
execute in interface org.apache.sling.hc.api.HealthCheck
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.