Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
0ad0ad4c
Commit
0ad0ad4c
authored
Jun 03, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3101 from izeye/cache
* cache: Polish Javadoc
parents
09617121
dd242121
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
CacheType.java
...g/springframework/boot/autoconfigure/cache/CacheType.java
+1
-1
HazelcastCacheConfiguration.java
...boot/autoconfigure/cache/HazelcastCacheConfiguration.java
+1
-1
JCacheCacheConfiguration.java
...rk/boot/autoconfigure/cache/JCacheCacheConfiguration.java
+2
-2
CacheAutoConfigurationTests.java
...boot/autoconfigure/cache/CacheAutoConfigurationTests.java
+1
-1
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheType.java
View file @
0ad0ad4c
...
...
@@ -27,7 +27,7 @@ package org.springframework.boot.autoconfigure.cache;
public
enum
CacheType
{
/**
* Generic caching using 'Cache
'
beans from the context.
* Generic caching using 'Cache
'
beans from the context.
*/
GENERIC
(
GenericCacheConfiguration
.
class
),
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java
View file @
0ad0ad4c
...
...
@@ -74,7 +74,7 @@ class HazelcastCacheConfiguration {
}
/**
* Determines if the Hazelcast configuration is available. This either kick in if a
* Determines if the Hazelcast configuration is available. This either kick
s
in if a
* default configuration has been found or if property referring to the file to use
* has been set.
*/
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java
View file @
0ad0ad4c
...
...
@@ -134,7 +134,7 @@ class JCacheCacheConfiguration {
}
/**
* Determine if JCache is available. This either kick in if a provider is available
* Determine if JCache is available. This either kick
s
in if a provider is available
* as defined per {@link JCacheProviderAvailableCondition} or if a {@link CacheManager}
* has already been defined.
*/
...
...
@@ -154,7 +154,7 @@ class JCacheCacheConfiguration {
}
/**
* Determine if a JCache provider is available. This either kick in if a default
* Determine if a JCache provider is available. This either kick
s
in if a default
* {@link CachingProvider} has been found or if the property referring to the provider
* to use has been set.
*/
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java
View file @
0ad0ad4c
...
...
@@ -325,7 +325,7 @@ public class CacheAutoConfigurationTests {
public
void
hazelcastCacheExplicit
()
{
load
(
DefaultCacheConfiguration
.
class
,
"spring.cache.type=hazelcast"
);
HazelcastCacheManager
cacheManager
=
validateCacheManager
(
HazelcastCacheManager
.
class
);
// NOTE: the hazelcast implementation know about a cache in a lazy manner.
// NOTE: the hazelcast implementation know
s
about a cache in a lazy manner.
cacheManager
.
getCache
(
"defaultCache"
);
assertThat
(
cacheManager
.
getCacheNames
(),
containsInAnyOrder
(
"defaultCache"
));
assertThat
(
cacheManager
.
getCacheNames
(),
hasSize
(
1
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment