No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Added gradle wrapper Aug 19, 2017
src/main/java/com/btmatthews/springboot/memcached
.gitignore Initial commit Mar 19, 2016
LICENSE
README.md
build.gradle
gradlew
gradlew.bat

README.md

Memcached Spring Boot Starter

A convenient dependency descriptor that you can include in your Spring Boot appication to configure a Memcached client.

Usage

memcached.servers=
@SpringBootApplication
@EnableMemcached
class Application {
    .
    .
}

Configuration

If you want to use a specific connection settings, you can define a bean for it :

@SpringBootApplication
@EnableMemcached
class Application {

    @Bean
    public ConnectionFactory memcachedConnection() {
        return new ConnectionFactoryBuilder()
                    .setDaemon(true)
                    .setFailureMode(FailureMode.Cancel)
                .build();
    }

}

Maven Central Coordinates

The Memcached Spring Boot Starter has been published in Maven Central.

Maven

The Maven coordinates are:

<dependency>
  <groupId>com.btmatthews.springboot</groupId>
  <artifactId>memcached-spring-boot-starter</artifactId>
  <version>1.1.0</version>
</dependency>

Gradle

The Gradle coordinates are:

compile('com.btmatthews.springboot:memcached-spring-boot-starter:1.1.0-SNAPSHOT')

License & Source Code

The Memcached Spring Boot Starter is made available under the Apache License and the source code is hosted on GitHub at https://github.com/bmatthews68/memcached-spring-boot-starter.

Contributors