@Override
 public CachedData encode(final Object o) {
   CachedObject cachedObject = transcoder.encode(o);
   return new CachedData(cachedObject.getFlags(), cachedObject.getData(), CachedObject.MAX_SIZE);
 }
 @Override
 public Object decode(final CachedData d) {
   return transcoder.decode(new CachedObjectWrapper(d));
 }