public String getCachedString() {
    if (part == null) {
      return null;
    }
    if (!isBytes()) {
      Assert.assertTrue(false, "expected String part to be of type BYTE, part =" + this);
    }
    return getCachedString((byte[]) part);
  }
Like getString but will also check a cache of frequently serialized strings.
The result will be added to the cache if it is not already in it.
NOTE: only call this for strings that are reused often (like region names).
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Part.java