# atoms **Repository Path**: geekcheng/atoms ## Basic Information - **Project Name**: atoms - **Description**: 多级缓存系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 39 - **Created**: 2016-06-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 基于j2cache的理念,重新设计开发的一套分布式缓存。支持2级并不限于2级的多级缓存系统。 github地址:[atoms](http://https://github.com/zhitongjob/atoms) 配置文件 ``` ``` 使用代码: ``` java 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); } } ```