@killme2008 killme2008 released this Jul 8, 2018 · 4 commits to master since this release

Assets 3

Release note:

  1. (fix) invalidateNamespace not work when sanitizeKeys is true, issue #85

@killme2008 killme2008 released this May 31, 2018 · 8 commits to master since this release

Assets 2

Main features:

  1. Fixed #83 , HealSession may causes too many open files.

xmemcached-2.4.4-bin-with-dependencies.tar.gz

<dependency>
    <groupId>com.googlecode.xmemcached</groupId>
    <artifactId>xmemcached</artifactId>
    <version>2.4.4</version>
</dependency>

@killme2008 killme2008 released this Apr 25, 2018 · 12 commits to master since this release

Assets 2

Main changes:

  1. Fix authentication on IP change, #68 thanks to saschat
  2. Format all the code with google style and adds the formatter plugin.

Binary download

xmemcached-2.4.3-bin-with-dependencies.tar.gz

Maven:

<dependency>
    <groupId>com.googlecode.xmemcached</groupId>
    <artifactId>xmemcached</artifactId>
    <version>2.4.3</version>
</dependency>

@killme2008 killme2008 released this Feb 23, 2018 · 21 commits to master since this release

Assets 3

Main features:

  • Adds an experiment option -Dxmemcached.string.fast.encoder=true, false by default.If true, it will use fast string encoder, show performance gains in benchmark.
  • Fixed #73 : failover mode cannot be initialized when memcached servers are down at startup time.
  • Fixed #68 : memcached servers IP addresses changes can not work with failure mode.
  • Other minor changes: format the code with google java coding style and fixed an implict bug in consistent hash session locator etc.

Maven:

<dependency>
    <groupId>com.googlecode.xmemcached</groupId>
    <artifactId>xmemcached</artifactId>
    <version>2.4.2</version>
</dependency>

Please don't use 2.4.1 version ,it's deprecated because it enable fast string encoder by default,this options is experimental right now.

@killme2008 killme2008 released this Oct 25, 2017 · 35 commits to master since this release

Assets 2

Main highlights:

  • Remove duplicate MemcachedException on fetch0 method #64
  • Fixed CPU consumption when connecting to a lot of memcached servers.
  • Use docker-compose to setup test environment.

It's a recommend upgrading if you have many memcached servers to connect.

Binary release:

xmemcached-2.4.0-bin-with-dependencies.tar.gz

@killme2008 killme2008 released this Jul 18, 2017 · 46 commits to master since this release

Assets 3

Main features:

  • Stop ConfigurationPoller when shutdown AWSElasticCacheClient. #61
  • Disable shutdown hook in AbstractController. #57
  • Add compatibility for KetamaMemcachedSessionLocator with Gwhalin Memcached Java Client. #60

@killme2008 killme2008 released this Mar 13, 2017 · 56 commits to master since this release

Assets 3

Main feature:

  • Adds AWSElasticCacheClientBuilder to build AWSElasticCacheClient, #55

Maven:

<!-- https://mvnrepository.com/artifact/com.googlecode.xmemcached/xmemcached -->
<dependency>
    <groupId>com.googlecode.xmemcached</groupId>
    <artifactId>xmemcached</artifactId>
    <version>2.3.1</version>
</dependency>

@killme2008 killme2008 released this Feb 28, 2017 · 61 commits to master since this release

Assets 3

Maven:

<!-- https://mvnrepository.com/artifact/com.googlecode.xmemcached/xmemcached -->
<dependency>
    <groupId>com.googlecode.xmemcached</groupId>
    <artifactId>xmemcached</artifactId>
    <version>2.3.0</version>
</dependency>
Pre-release

@killme2008 killme2008 released this Nov 3, 2016 · 76 commits to master since this release

Assets 3

A beta release for #37 and PR #50

Use AWSElasticCacheClient in AWS ElasticCache, for example:

import java.net.InetSocketAddress;

import net.rubyeye.xmemcached.aws.AWSElasticCacheClient;
import net.rubyeye.xmemcached.aws.ClusterConfigration;
import net.rubyeye.xmemcached.command.BinaryCommandFactory;
import net.rubyeye.xmemcached.command.TextCommandFactory;


public class Test {
    public static void main(String args[]) throws Exception {
        AWSElasticCacheClient client =
        new AWSElasticCacheClient(new InetSocketAddress("AWS ElasticCache endpoint host", 11211));
        ClusterConfigration conf = client.getConfig();
        System.out.println(conf.toString());
        client.set("a", 0, 1);
        System.out.println((Object)client.get("a"));
    }
}

It will auto discovery AWS ElasticCache nodes and connect to them for service, then refresh the nodes list in background between configured poll interval. (It is 1 hour by default).

Maven:

   <dependency>
              <groupId>com.googlecode.xmemcached</groupId>
              <artifactId>xmemcached</artifactId>
              <version>2.2.1-beta</version>
  </dependency>

Any test and feedback is welcome!

@killme2008 killme2008 released this Oct 27, 2016 · 82 commits to master since this release

Assets 3
  • Fixed some TimeoutException scenarios #30, highly recommend upgrading.
  • Fixed session heartbeat failure counter
  • Remove the helper classs for hibernate-memcached.

Maven:

         <dependency>
              <groupId>com.googlecode.xmemcached</groupId>
              <artifactId>xmemcached</artifactId>
              <version>2.2.0</version>
          </dependency>