Class DistributionQueueHealthCheck
java.lang.Object
org.apache.sling.distribution.monitor.DistributionQueueHealthCheck
- All Implemented Interfaces:
org.apache.felix.hc.api.HealthCheck
public class DistributionQueueHealthCheck
extends Object
implements org.apache.felix.hc.api.HealthCheck
HealthCheck that checks if distribution queues' first item has been retried more than a configurable amount
of times-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.apache.felix.hc.api.HealthCheck
ASYNC_CRON_EXPRESSION, ASYNC_INTERVAL_IN_SEC, KEEP_NON_OK_RESULTS_STICKY_FOR_SEC, MBEAN_NAME, NAME, RESULT_CACHE_TTL_IN_MS, TAGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidorg.apache.felix.hc.api.Resultexecute()protected voidunbindDistributionAgent(DistributionAgent distributionAgent)
-
Constructor Details
-
DistributionQueueHealthCheck
public DistributionQueueHealthCheck()
-
-
Method Details
-
activate
-
deactivate
protected void deactivate() -
unbindDistributionAgent
-
execute
public org.apache.felix.hc.api.Result execute()- Specified by:
executein interfaceorg.apache.felix.hc.api.HealthCheck
-