Class ExceptionMonitorPredicates
- java.lang.Object
-
- com.atlassian.confluence.impl.core.persistence.hibernate.ExceptionMonitorPredicates
-
public final class ExceptionMonitorPredicates extends Object
- Since:
- 7.14
-
-
Field Summary
Fields Modifier and Type Field Description static Duration
CONNECTION_PROVIDER_EXCEPTION_AGE_THRESHOLD
-
Constructor Summary
Constructors Constructor Description ExceptionMonitorPredicates()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Predicate<javax.servlet.http.HttpServletRequest>
shortCircuitRequestTester()
Provides aPredicate
to determine if a givenHttpServletRequest
should be "short-circuited" due to recent errors recorded by theExceptionMonitor
-
-
-
Field Detail
-
CONNECTION_PROVIDER_EXCEPTION_AGE_THRESHOLD
public static final Duration CONNECTION_PROVIDER_EXCEPTION_AGE_THRESHOLD
-
-
Method Detail
-
shortCircuitRequestTester
public static Predicate<javax.servlet.http.HttpServletRequest> shortCircuitRequestTester()
Provides aPredicate
to determine if a givenHttpServletRequest
should be "short-circuited" due to recent errors recorded by theExceptionMonitor
-
-