public void clear() {
    if (distributedTypeRegistry.isClient()) {
      idToType.clear();
      typeToId.clear();
      localTypeIds.clear();
      localTypeIdMaps.clear();
      unreadDataMap.clear();
      idToEnum.clear();
      enumInfoToId.clear();
      localEnumIds.clear();
      AutoSerializableManager autoSerializer = getAutoSerializableManager();
      if (autoSerializer != null) {
        autoSerializer.resetCachedTypes();
      }
    }
  }
Clear all of the cached PDX types in this registry. This method is used on a client when the
server side distributed system is cycled
geode-core/src/main/java/org/apache/geode/pdx/internal/TypeRegistry.java