- 授权协议: MIT
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/xetorthio/johm
软件介绍
JOhm 是一个 Java 的对象哈希映射库,用于在 Redis 中存储 Java 对象。JOhm 基于 Jedis 开发。
示例代码:
jedisPool = new JedisPool(new Config(), "localhost");
JOhm.setPool(jedisPool);
User someOne = new User();
someOne.setName("Someone");
someOne.setAge(30);
JOhm.save(someOne);
