/**
  * 将字符串值 value 关联到 key 。
  *
  * @param key
  * @param value
  */
 public Object getObject(String key) {
   Object o = null;
   Jedis jedis = null;
   try {
     jedis = jedisPool.getResource();
     byte[] bs = jedis.get(SerializeUtils.serialize(key));
     if (bs != null) {
       o = SerializeUtils.unserialize(bs);
     }
   } catch (Exception e) {
     e.printStackTrace();
   } finally {
     if (jedis != null) {
       try {
         jedisPool.returnResource(jedis);
       } catch (Exception e) {
         e.printStackTrace();
       }
     }
   }
   return o;
 }