@Override
 public final synchronized int updateAsyncEntrySize(EnableLRU capacityController) {
   int oldSize = getEntrySize();
   int newSize = capacityController.entrySize(getKeyForSizing(), null);
   setEntrySize(newSize);
   int delta = newSize - oldSize;
   return delta;
 }
 // DO NOT modify this class. It was generated from LeafRegionEntry.cpp
 public final synchronized int updateEntrySize(EnableLRU capacityController, Object value) {
   int oldSize = getEntrySize();
   int newSize = capacityController.entrySize(getKeyForSizing(), value);
   setEntrySize(newSize);
   int delta = newSize - oldSize;
   //   if ( debug ) log( "updateEntrySize key=" + getKey()
   //                     + (_getValue() == Token.INVALID ? " invalid" :
   //                        (_getValue() == Token.LOCAL_INVALID ? "local_invalid" :
   //                         (_getValue()==null ? " evicted" : " valid")))
   //                     + " oldSize=" + oldSize
   //                     + " newSize=" + this.size );
   return delta;
 }