test_class.declarator: logger = LoggerFactory.getLogger(JedisJsonCacheServiceTest.class)
test_class.modifier: private
test_class.original_string: private Logger logger = LoggerFactory.getLogger(JedisJsonCacheServiceTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: jedisJsonCacheService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private JedisJsonCacheService jedisJsonCacheService;
test_class.type: JedisJsonCacheService
test_class.var_name: jedisJsonCacheService
test_class.file: spring-boot-2.x-redis-jedis-objectcache/src/test/java/cn/lijunkui/cache/JedisJsonCacheServiceTest.java
test_class.identifier: JedisJsonCacheServiceTest
test_case.body: @Test
      public void getObject() {
          User user = (User)jedisJsonCacheService.getObject("user02",User.class);
          logger.info("User name={},age={}",user.getName(),user.getAge());
      }
test_case.class_method_signature: JedisJsonCacheServiceTest.getObject()
test_case.full_signature: @Test public void getObject()
test_case.identifier: getObject
test_case.invocations: getObject info getName getAge
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getObject()
focal_class.declarator: logger = LoggerFactory.getLogger(JedisJsonCacheService.class)
focal_class.modifier: private static
focal_class.original_string: private static Logger logger = LoggerFactory.getLogger(JedisJsonCacheService.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: jedisPool
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private JedisPool jedisPool;
focal_class.type: JedisPool
focal_class.var_name: jedisPool
focal_class.file: spring-boot-2.x-redis-jedis-objectcache/src/main/java/cn/lijunkui/cache/JedisJsonCacheService.java
focal_class.identifier: JedisJsonCacheService
focal_class.class_method_signature: JedisJsonCacheService.getObject(String key,Class clazz)
focal_class.full_signature: public Object getObject(String key,Class clazz)
focal_class.identifier: getObject
focal_class.modifiers: public
focal_class.parameters: (String key,Class clazz)
focal_class.return: Object
focal_class.signature: Object getObject(String key,Class clazz)
focal_class.class_method_signature: JedisJsonCacheService.putObject(String key, Object value)
focal_class.full_signature: public void putObject(String key, Object value)
focal_class.identifier: putObject
focal_class.modifiers: public
focal_class.parameters: (String key, Object value)
focal_class.return: void
focal_class.signature: void putObject(String key, Object value)
focal_class.class_method_signature: JedisJsonCacheService.putObject(String key, Object value, Long expireTime)
focal_class.full_signature: public void putObject(String key, Object value, Long expireTime)
focal_class.identifier: putObject
focal_class.modifiers: public
focal_class.parameters: (String key, Object value, Long expireTime)
focal_class.return: void
focal_class.signature: void putObject(String key, Object value, Long expireTime)
focal_class.class_method_signature: JedisJsonCacheService.toJson(Object value)
focal_class.full_signature: private String toJson(Object value)
focal_class.identifier: toJson
focal_class.modifiers: private
focal_class.parameters: (Object value)
focal_class.return: String
focal_class.signature: String toJson(Object value)
focal_class.class_method_signature: JedisJsonCacheService.toObjce(String json,Class clazz)
focal_class.full_signature: private Object toObjce(String json,Class clazz)
focal_class.identifier: toObjce
focal_class.modifiers: private
focal_class.parameters: (String json,Class clazz)
focal_class.return: Object
focal_class.signature: Object toObjce(String json,Class clazz)
focal_class.superclass: extends JedisCacheServiceSupport
focal_method.body: public Object getObject(String key,Class clazz) {
          Jedis jedis = null;
          Object object = null;
          try {
              jedis = jedisPool.getResource();
              String objectJson = jedis.get(key);
               object = toObjce(objectJson,clazz);
          }catch (Exception e){
              e.printStackTrace();
          }finally {
              close(jedis);
          }
          return object;
      }
focal_method.class_method_signature: JedisJsonCacheService.getObject(String key,Class clazz)
focal_method.full_signature: public Object getObject(String key,Class clazz)
focal_method.identifier: getObject
focal_method.invocations: getResource get toObjce printStackTrace close
focal_method.modifiers: public
focal_method.parameters: (String key,Class clazz)
focal_method.return: Object
focal_method.signature: Object getObject(String key,Class clazz)