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