|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2016 the original author or authors. |
|
|
|
|
* Copyright 2002-2019 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -174,15 +174,15 @@ public abstract class AbstractCacheManager implements CacheManager, Initializing
@@ -174,15 +174,15 @@ public abstract class AbstractCacheManager implements CacheManager, Initializing
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return a missing cache with the specified {@code name} or {@code null} if |
|
|
|
|
* such cache does not exist or could not be created on the fly. |
|
|
|
|
* <p>Some caches may be created at runtime if the native provider supports |
|
|
|
|
* it. If a lookup by name does not yield any result, a subclass gets a chance |
|
|
|
|
* to register such a cache at runtime. The returned cache will be automatically |
|
|
|
|
* added to this instance. |
|
|
|
|
* Return a missing cache with the specified {@code name}, or {@code null} if |
|
|
|
|
* such a cache does not exist or could not be created on demand. |
|
|
|
|
* <p>Caches may be lazily created at runtime if the native provider supports it. |
|
|
|
|
* If a lookup by name does not yield any result, an {@code AbstractCacheManager} |
|
|
|
|
* subclass gets a chance to register such a cache at runtime. The returned cache |
|
|
|
|
* will be automatically added to this cache manager. |
|
|
|
|
* @param name the name of the cache to retrieve |
|
|
|
|
* @return the missing cache or {@code null} if no such cache exists or could be |
|
|
|
|
* created |
|
|
|
|
* @return the missing cache, or {@code null} if no such cache exists or could be |
|
|
|
|
* created on demand |
|
|
|
|
* @since 4.1 |
|
|
|
|
* @see #getCache(String) |
|
|
|
|
*/ |
|
|
|
|
|