Skip to content

spekdrum/spring-boot-cache-sample

 
 

Repository files navigation

spring-boot-cache

  • Generic

maven:

mvnw spring-boot:run

gradle:

gradlew bootRun
  • EhCache

maven:

mvnw spring-boot:run -Dspring.profiles.active=ehcache

gradle:

SPRING_PROFILES_ACTIVE=ehcache gradlew bootRun
  • Guava

maven:

mvnw spring-boot:run -Dspring.profiles.active=guava

gradle:

SPRING_PROFILES_ACTIVE=guava gradlew bootRun
  • Hazelcast

maven:

mvnw spring-boot:run -Dspring.profiles.active=hazelcast

gradle:

SPRING_PROFILES_ACTIVE=hazelcast gradlew bootRun
  • JCache

maven:

mvnw spring-boot:run -Dspring.profiles.active=jcache

gradle:

SPRING_PROFILES_ACTIVE=jcache gradlew bootRun
  • Redis

Redis instance is needed:

docker run --name redis -d redis

maven:

mvnw spring-boot:run -Dspring.profiles.active=redis

gradle:

SPRING_PROFILES_ACTIVE=redis gradlew bootRun
  • Simple

maven:

mvnw spring-boot:run -Dspring.profiles.active=simple

gradle:

SPRING_PROFILES_ACTIVE=simple gradlew bootRun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 40.8%
  • Batchfile 33.5%
  • Java 15.1%
  • Groovy 10.6%