Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is it like for xmemcached 1.3.6 to release memcached's Java development kit

2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

In this issue, the editor will bring you about xmemcached 1.3.6 release of memcached Java development package is how, the article is rich in content and professional analysis and description for you, after reading this article, I hope you can get something.

Xmemcached, an open source memcached Java client, released version 1.3.6.

The main improvements are as follows:

1. Add two new methods for MemcachedClientBuilder to configure:

Public void setConnectTimeout (long connectTimeout); public void setSanitizeKeys (boolean sanitizeKeys)

two。 XmemcachedClientFactoryd for hibernate has added a connectTimeout attribute, thanks to netizen Boli.Jiang for his contribution.

3. Add a new enumeration type net.rubyeye.xmemcached.transcoders.CompressionMode, which is used to specify the compression type of Transcoder. The default is ZIP compression, and you can choose GZIP compression. Add the setCompressionMode method to the Transcoder interface.

4. Modify the heartbeat rule to initiate a heartbeat when the connection is idle, but now it is fixed to initiate a heartbeat detection connection every 5 seconds.

5. Modify the default parameter, disable the nagle algorithm by default, and reduce the merge factor of batch get to 50 by default.

6. Repair of bug and improvements, including 161,163,165,169,172,173,176,179 and 180.

Source code: https://github.com/killme2008/xmemcached

Maven dependencies:

Com.googlecode.xmemcached xmemcached 1.3.6 above is what the Java development package of xmemcached 1.3.6 released memcached is like. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 272

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report