Skip navigation links
A B C D E G H I J M O P R S T U 

A

activate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.CompositeHealthCheck
 
activate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.executor.AsyncHealthCheckExecutor
 
activate(Map<String, Object>, BundleContext) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
activate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.JmxAdjustableStatusForTesting
 
activate(Map<String, Object>) - Method in class org.apache.sling.hc.core.impl.JmxAttributeHealthCheck
 
activate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.ScriptableHealthCheck
 
activate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
activate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.servlet.ResultHtmlSerializer
 
activate(Map<?, ?>) - Method in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
activate(BundleContext) - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBeanCreator
 
addBindings(Bindings) - Method in class org.apache.sling.hc.core.impl.JmxScriptBindingsProvider
 
AsyncHealthCheckExecutor - Class in org.apache.sling.hc.core.impl.executor
Runs health checks that are configured with a cron expression for asynchronous execution.
AsyncHealthCheckExecutor() - Constructor for class org.apache.sling.hc.core.impl.executor.AsyncHealthCheckExecutor
 
attribute(String, String) - Method in class org.apache.sling.hc.core.impl.JmxScriptBindingsProvider.AttributeBinding
 

B

bindBindingsValuesProvider(BindingsValuesProvider) - Method in class org.apache.sling.hc.core.impl.ScriptableHealthCheck
 

C

clear() - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
Clear the whole cache
compareTo(ExecutionResult) - Method in class org.apache.sling.hc.core.impl.executor.ExecutionResult
Natural order of results (failed results are sorted before ok results).
CompositeHealthCheck - Class in org.apache.sling.hc.core.impl
HealthCheck that executes a number of other HealthChecks, selected by their tags, and merges their Results.
CompositeHealthCheck() - Constructor for class org.apache.sling.hc.core.impl.CompositeHealthCheck
 
CompositeResult - Class in org.apache.sling.hc.core.impl
 
CompositeResult(ResultLog, List<HealthCheckExecutionResult>) - Constructor for class org.apache.sling.hc.core.impl.CompositeResult
 
CORS_ORIGIN_HEADER_DEFAULT_VALUE - Static variable in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
createExecutionResultWithStickyResults(HealthCheckExecutionResult) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
Creates a new execution result

D

deactivate() - Method in class org.apache.sling.hc.core.impl.CompositeHealthCheck
 
deactivate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.executor.AsyncHealthCheckExecutor
 
deactivate() - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
deactivate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.JmxAdjustableStatusForTesting
 
deactivate(ComponentContext) - Method in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
deactivate() - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBeanCreator
 
doGet(HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 

E

execute() - Method in class org.apache.sling.hc.core.impl.CompositeHealthCheck
 
execute(ServiceReference) - Method in interface org.apache.sling.hc.core.impl.executor.ExtendedHealthCheckExecutor
 
execute(HealthCheckSelector) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
execute(HealthCheckSelector, HealthCheckExecutionOptions) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
execute(String...) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
execute(HealthCheckExecutionOptions, String...) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
execute(ServiceReference) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
execute() - Method in class org.apache.sling.hc.core.impl.JmxAttributeHealthCheck
 
execute() - Method in class org.apache.sling.hc.core.impl.ScriptableHealthCheck
 
ExecutionResult - Class in org.apache.sling.hc.core.impl.executor
The result of executing a HealthCheck.
ExecutionResult(HealthCheckMetadata, Result, long, boolean) - Constructor for class org.apache.sling.hc.core.impl.executor.ExecutionResult
Full constructor
ExecutionResult(HealthCheckMetadata, Result, long) - Constructor for class org.apache.sling.hc.core.impl.executor.ExecutionResult
Shortcut constructor for a result
ExecutionResult(HealthCheckMetadata, Result.Status, String, long, boolean) - Constructor for class org.apache.sling.hc.core.impl.executor.ExecutionResult
Shortcut constructor to create error/timed out result.
ExtendedHealthCheckExecutor - Interface in org.apache.sling.hc.core.impl.executor
Internal service used by the JMX stuff

G

getAttribute(String) - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 
getAttributes(String[]) - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 
getElapsedTimeInMs() - Method in class org.apache.sling.hc.core.impl.executor.ExecutionResult
 
getFinishedAt() - Method in class org.apache.sling.hc.core.impl.executor.ExecutionResult
 
getHealthCheckMetadata() - Method in class org.apache.sling.hc.core.impl.executor.ExecutionResult
 
getHealthCheckResult() - Method in class org.apache.sling.hc.core.impl.executor.ExecutionResult
 
getMBeanInfo() - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 
getValidCacheResult(HealthCheckMetadata, long) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
Return the cached result if it's still valid.

H

hasTimedOut() - Method in class org.apache.sling.hc.core.impl.executor.ExecutionResult
 
HealthCheckExecutorImpl - Class in org.apache.sling.hc.core.impl.executor
Runs health checks for a given list of tags in parallel.
HealthCheckExecutorImpl() - Constructor for class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
HealthCheckExecutorServlet - Class in org.apache.sling.hc.core.impl.servlet
Servlet that triggers the health check executor to return results via http.
HealthCheckExecutorServlet() - Constructor for class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
HealthCheckMBean - Class in org.apache.sling.hc.jmx.impl
A DynamicMBean used to execute a HealthCheck service
HealthCheckMBean(ServiceReference, ExtendedHealthCheckExecutor) - Constructor for class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 
HealthCheckMBeanCreator - Class in org.apache.sling.hc.jmx.impl
Creates an HealthCheckMBean for every HealthCheckMBean service
HealthCheckMBeanCreator() - Constructor for class org.apache.sling.hc.jmx.impl.HealthCheckMBeanCreator
 
HealthCheckResultCache - Class in org.apache.sling.hc.core.impl.executor
Caches health check results.
HealthCheckResultCache() - Constructor for class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
 

I

invoke(String, Object[], String[]) - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 

J

JMX_BINDING_NAME - Static variable in class org.apache.sling.hc.core.impl.JmxScriptBindingsProvider
 
JmxAdjustableStatusForTesting - Class in org.apache.sling.hc.core.impl
Allows to dynamically add a health check that returns WARN or CRITICAL for certain tags for testing purposes.
JmxAdjustableStatusForTesting() - Constructor for class org.apache.sling.hc.core.impl.JmxAdjustableStatusForTesting
 
JmxAttributeHealthCheck - Class in org.apache.sling.hc.core.impl
HealthCheck that checks a single JMX attribute
JmxAttributeHealthCheck() - Constructor for class org.apache.sling.hc.core.impl.JmxAttributeHealthCheck
 
JmxScriptBindingsProvider - Class in org.apache.sling.hc.core.impl
The JmxBinding is meant to be bound as "jmx" global variables in scripted rules, to allow for writing scripted expressions like jmx.attribute("java.lang:type=ClassLoading", "LoadedClassCount") > 100
JmxScriptBindingsProvider() - Constructor for class org.apache.sling.hc.core.impl.JmxScriptBindingsProvider
 
JmxScriptBindingsProvider.AttributeBinding - Class in org.apache.sling.hc.core.impl
 

M

modified(Map<String, Object>) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 

O

org.apache.sling.hc.core.impl - package org.apache.sling.hc.core.impl
 
org.apache.sling.hc.core.impl.executor - package org.apache.sling.hc.core.impl.executor
 
org.apache.sling.hc.core.impl.servlet - package org.apache.sling.hc.core.impl.servlet
 
org.apache.sling.hc.jmx.impl - package org.apache.sling.hc.jmx.impl
 

P

PARAM_SPLIT_REGEX - Static variable in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
PROP_ATTRIBUTE_NAME - Static variable in class org.apache.sling.hc.core.impl.JmxAttributeHealthCheck
 
PROP_COL_WIDTH_NAME - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROP_COL_WIDTH_NAME_DEFAULT - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROP_COL_WIDTH_RESULT - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROP_COL_WIDTH_RESULT_DEFAULT - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROP_COL_WIDTH_TIMING - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROP_COL_WIDTH_TIMING_DEFAULT - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROP_CONSTRAINT - Static variable in class org.apache.sling.hc.core.impl.JmxAttributeHealthCheck
 
PROP_EXPRESSION - Static variable in class org.apache.sling.hc.core.impl.ScriptableHealthCheck
 
PROP_LANGUAGE_EXTENSION - Static variable in class org.apache.sling.hc.core.impl.ScriptableHealthCheck
 
PROP_LONGRUNNING_FUTURE_THRESHOLD_CRITICAL_MS - Static variable in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
PROP_OBJECT_NAME - Static variable in class org.apache.sling.hc.core.impl.JmxAttributeHealthCheck
 
PROP_RESULT_CACHE_TTL_MS - Static variable in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
PROP_TIMEOUT_MS - Static variable in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
PROP_TOTAL_WIDTH - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROP_TOTAL_WIDTH_DEFAULT - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
PROPERTY_CORS_ORIGIN_HEADER_VALUE - Static variable in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
PROPERTY_CSS_STYLE - Static variable in class org.apache.sling.hc.core.impl.servlet.ResultHtmlSerializer
 
PROPERTY_DISABLED - Static variable in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 
PROPERTY_SERVLET_PATH - Static variable in class org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
 

R

removeCachedResult(Long) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
Remove entry from cache
ResultHtmlSerializer - Class in org.apache.sling.hc.core.impl.servlet
Serializes health check results into html format.
ResultHtmlSerializer() - Constructor for class org.apache.sling.hc.core.impl.servlet.ResultHtmlSerializer
 
ResultJsonSerializer - Class in org.apache.sling.hc.core.impl.servlet
Serializes health check results into json format.
ResultJsonSerializer() - Constructor for class org.apache.sling.hc.core.impl.servlet.ResultJsonSerializer
 
ResultTxtSerializer - Class in org.apache.sling.hc.core.impl.servlet
Serializes health check results into a simple text message (ideal to be used by a load balancer that would discard further information).
ResultTxtSerializer() - Constructor for class org.apache.sling.hc.core.impl.servlet.ResultTxtSerializer
 
ResultTxtVerboseSerializer - Class in org.apache.sling.hc.core.impl.servlet
Serializes health check results into a verbose text message.
ResultTxtVerboseSerializer() - Constructor for class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 

S

ScriptableHealthCheck - Class in org.apache.sling.hc.core.impl
HealthCheck that checks a scriptable expression
ScriptableHealthCheck() - Constructor for class org.apache.sling.hc.core.impl.ScriptableHealthCheck
 
serialize(Result, List<HealthCheckExecutionResult>, String, boolean) - Method in class org.apache.sling.hc.core.impl.servlet.ResultHtmlSerializer
 
serialize(Result, List<HealthCheckExecutionResult>, String, boolean) - Method in class org.apache.sling.hc.core.impl.servlet.ResultJsonSerializer
 
serialize(Result) - Method in class org.apache.sling.hc.core.impl.servlet.ResultTxtSerializer
 
serialize(Result, List<HealthCheckExecutionResult>, boolean) - Method in class org.apache.sling.hc.core.impl.servlet.ResultTxtVerboseSerializer
 
serviceChanged(ServiceEvent) - Method in class org.apache.sling.hc.core.impl.executor.AsyncHealthCheckExecutor
 
serviceChanged(ServiceEvent) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
setAttribute(Attribute) - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 
setAttributes(AttributeList) - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 
setLongRunningFutureThresholdForRedMs(long) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 
setTimeoutInMs(long) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
 

T

toString() - Method in class org.apache.sling.hc.core.impl.executor.ExecutionResult
 
toString() - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
 
toString() - Method in class org.apache.sling.hc.jmx.impl.HealthCheckMBean
 

U

unbindBindingsValuesProvider(BindingsValuesProvider) - Method in class org.apache.sling.hc.core.impl.ScriptableHealthCheck
 
updateWith(HealthCheckExecutionResult) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
Update the cache with the result
useValidCacheResults(List<HealthCheckMetadata>, Collection<HealthCheckExecutionResult>, long) - Method in class org.apache.sling.hc.core.impl.executor.HealthCheckResultCache
Get the valid cache results
A B C D E G H I J M O P R S T U 
Skip navigation links

Copyright © 2013–2017 The Apache Software Foundation. All rights reserved.