@Override
    public int getSizeInBytes() {
      return getCd().getSizeInBytes();
    }
The only methods that need to use this method are those on the external SerializedCacheValue
interface and any other method that a customer could call that may access the off-heap
values. For example if toString was implemented on this class to access the value then it
would need to use this method.
geode-core/src/main/java/org/apache/geode/internal/cache/EntryEventImpl.java