Merge pull request #14969 from dreis2211
* pr/14969: Polish javadoc of CachesEndpoint
This commit is contained in:
		
						commit
						a43728d9d8
					
				| 
						 | 
				
			
			@ -74,10 +74,10 @@ public class CachesEndpoint {
 | 
			
		|||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Return a {@link CacheDescriptor} for the specified cache.
 | 
			
		||||
	 * @param cache then name of the cache
 | 
			
		||||
	 * @param cache the name of the cache
 | 
			
		||||
	 * @param cacheManager the name of the cacheManager (can be {@code null}
 | 
			
		||||
	 * @return the descriptor of the cache or {@code null} if no such cache exists
 | 
			
		||||
	 * @throws NonUniqueCacheException if more than one cache with that name exist and no
 | 
			
		||||
	 * @throws NonUniqueCacheException if more than one cache with that name exists and no
 | 
			
		||||
	 * {@code cacheManager} was provided to identify a unique candidate
 | 
			
		||||
	 */
 | 
			
		||||
	@ReadOperation
 | 
			
		||||
| 
						 | 
				
			
			@ -96,11 +96,12 @@ public class CachesEndpoint {
 | 
			
		|||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Clear the specific {@link Cache}.
 | 
			
		||||
	 * @param cache then name of the cache
 | 
			
		||||
	 * @param cache the name of the cache
 | 
			
		||||
	 * @param cacheManager the name of the cacheManager (can be {@code null} to match all)
 | 
			
		||||
	 * @return {@code true} if the cache was cleared or {@code false} if no such cache
 | 
			
		||||
	 * exists
 | 
			
		||||
	 * @throws NonUniqueCacheException if more than one cache with that name exist and no
 | 
			
		||||
	 * @throws NonUniqueCacheException if more than one cache with that name exists and no
 | 
			
		||||
	 * {@code cacheManager} was provided to identify a unique candidate
 | 
			
		||||
	 */
 | 
			
		||||
	@DeleteOperation
 | 
			
		||||
	public boolean clearCache(@Selector String cache, @Nullable String cacheManager) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue