Simple-Spring-Memcached

码农软件 · 软件分类 · 缓存系统 · 2019-08-30 18:12:54

软件介绍

Simple-Spring-Memcached (SSM) 提供一个简单的方法为 Spring 的 Bean 启用 memcached 缓存支持,使用时只需要在 Bean 中通过 @Annotation 注释进行声明即可。

示例代码:

@ReadThroughSingleCache(namespace = "ComplexObject", keyIndex = 1, expiration = 300)
public ComplexObject getObjectByPrimaryKey(Long primaryKey) {...}

示例配置:

<bean id="memcachedConnectionBean" class="net.nelz.simplesm.config.MemcachedConnectionBean">
<property name="consistentHashing" value="true" />
<property name="nodeList" value="127.0.0.1:11211 127.0.0.1:11311" />
</bean>

本文地址:https://www.codercto.com/soft/d/13517.html

Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff / O'Reilly Media / 2006-06-29 / USD 44.99

Ajax, or Asynchronous JavaScript and XML, exploded onto the scene in the spring of 2005 and remains the hottest story among web developers. With its rich combination of technologies, Ajax provides a s......一起来看看 《Ajax Design Patterns》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具