@Override public V get(K key) throws CacheException { logger.debug("根据key从Redis中获取对象 key [" + key + "]"); try { if (key == null) { return null; } else { byte[] rawValue = cache.get(getByteKey(key)); @SuppressWarnings("unchecked") V value = (V) SerializeUtils.unserialize(rawValue); return value; } } catch (Throwable t) { throw new CacheException(t); } }