- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/jbakwd/atoms
- 软件文档: http://git.oschina.net/jbakwd/atoms/blob/master/Readme.md?dir=0&filepath=Readme.md&oid=4626f06e02ad6616c2663124866d3e5f313f222c&sha=525cb9de8306df6c81660ca68a11f3da03706a64
软件介绍
atoms 是一个基于 J2Cache 思想实现的二级缓存系统。支持2级并不限于2级的多级缓存系统。
广播支持 zookeeper,redis,jgroups
缓存支持 ehcache,redis,ssdb
序列化支持 fst,kryo,kryopool,java自身序列化
配置方式支持spring配置,和atoms原生xml配置。
使用代码:
CacheChannel cc=CacheChannel.getInstance();
cc.set("jobell", "hello", "nihaoya");
cc.evict("jobell", "hello");
while(true){
Object value=cc.get("jobell", "hello");
if(value==null){
System.out.println("==============="+value);
}else{
System.out.println("==============="+value);
}
}
