Package | Description |
---|---|
com.atlassian.bamboo.util | |
com.atlassian.bamboo.utils |
Modifier and Type | Method and Description |
---|---|
static <T> T |
BambooProfilingUtils.withUtilTimerStack(String message,
BambooCallables.NotThrowing<T> callable)
Deprecated.
since 6.10 use
Timers directly |
Modifier and Type | Method and Description |
---|---|
static <V> BambooCallables.NotThrowing<V> |
BambooCallables.notThrowing(BambooCallables.ThrowingX<V,? extends Exception,? extends Exception,? extends Exception> callable)
Returns a wrapped callable which does not throw checked exceptions.
|
Modifier and Type | Method and Description |
---|---|
static <V> V |
BambooCallables.retryOnException(BambooCallables.NotThrowing<V> callable,
Predicate<RuntimeException> exceptionPredicate)
Utility to re-attempt to execute a callable if it fails with a known exception.
|
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.