Polishing
This commit is contained in:
@@ -158,6 +158,9 @@ public class DefaultCacheAwareContextLoaderDelegate implements CacheAwareContext
|
||||
this.contextCache.put(mergedConfig, context);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("Incrementing ApplicationContext failure count for " + mergedConfig);
|
||||
}
|
||||
this.contextCache.incrementFailureCount(mergedConfig);
|
||||
Throwable cause = ex;
|
||||
if (ex instanceof ContextLoadException cle) {
|
||||
|
||||
@@ -57,6 +57,7 @@ public class DefaultContextCache implements ContextCache {
|
||||
|
||||
private static final Log statsLogger = LogFactory.getLog(CONTEXT_CACHE_LOGGING_CATEGORY);
|
||||
|
||||
|
||||
/**
|
||||
* Map of context keys to Spring {@code ApplicationContext} instances.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user