Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
springBoot
Project
Project
Details
Activity
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
WitCloud
springBoot
Commits
08cd9770
Commit
08cd9770
authored
Mar 02, 2017
by
杨伊博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify cache
parent
ad229263
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
pom.xml
springboot-Cache/pom.xml
+6
-5
ehcache.xml
springboot-Cache/src/main/resources/ehcache.xml
+5
-0
No files found.
springboot-Cache/pom.xml
View file @
08cd9770
...
...
@@ -35,12 +35,13 @@
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
net.sf.ehcache
</groupId>
<artifactId>
ehcache
</artifactId>
</dependency>
<!--切换缓存 ehcache-->
<!--<dependency>-->
<!--<groupId>net.sf.ehcache</groupId>-->
<!--<artifactId>ehcache</artifactId>-->
<!--</dependency>-->
<!--切换缓存-->
<!--切换缓存
guava
-->
<!--<dependency>-->
<!--<groupId>com.google.guava</groupId>-->
<!--<artifactId>guava</artifactId>-->
...
...
springboot-Cache/src/main/resources/ehcache.xml
0 → 100755
View file @
08cd9770
<?xml version="1.0" encoding="UTF-8"?>
<ehcache>
<!--切换为ehcache 缓存时使用-->
<cache
name=
"people"
maxElementsInMemory=
"1000"
/>
</ehcache>
\ No newline at end of file
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