Class HealthCheckExecutionOptions
java.lang.Object
org.apache.sling.hc.api.execution.HealthCheckExecutionOptions
Deprecated.
Options for behavior of health check execution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.int
Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.boolean
Deprecated.void
setCombineTagsWithOr
(boolean combineTagsWithOr) Deprecated.If activated, the given tags will be combined with a logical "or" instead of "and".void
setForceInstantExecution
(boolean forceInstantExecution) Deprecated.If activated, this will ensure that asynchronous checks will be executed immediately.void
setOverrideGlobalTimeout
(int overrideGlobalTimeout) Deprecated.Allows to override the global timeout for this particular execution of the health check.toString()
Deprecated.
-
Constructor Details
-
HealthCheckExecutionOptions
public HealthCheckExecutionOptions()Deprecated.
-
-
Method Details
-
toString
Deprecated. -
setForceInstantExecution
public void setForceInstantExecution(boolean forceInstantExecution) Deprecated.If activated, this will ensure that asynchronous checks will be executed immediately.- Parameters:
forceInstantExecution
- boolean flag
-
setCombineTagsWithOr
public void setCombineTagsWithOr(boolean combineTagsWithOr) Deprecated.If activated, the given tags will be combined with a logical "or" instead of "and".- Parameters:
combineTagsWithOr
- boolean flag
-
setOverrideGlobalTimeout
public void setOverrideGlobalTimeout(int overrideGlobalTimeout) Deprecated.Allows to override the global timeout for this particular execution of the health check.- Parameters:
overrideGlobalTimeout
- timeout in ms to be used for this execution of the execution
-
isForceInstantExecution
public boolean isForceInstantExecution()Deprecated.- Returns:
- true if instant execution is turned on
-
isCombineTagsWithOr
public boolean isCombineTagsWithOr()Deprecated.- Returns:
- true if combining tags with or is turned on
-
getOverrideGlobalTimeout
public int getOverrideGlobalTimeout()Deprecated.- Returns:
- the timeout to be used for this execution (overriding the global timeout)
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.
-