@SuppressWarnings("deprecation")
  private static InternalCache getInternalCache() {
    return GemFireCacheImpl.getInstance();
  }
Registers a {@code DataSerializer} instance with the data serialization framework.

@param distribute Should the registered {@code DataSerializer} be distributed to other members
       of the distributed system?
@see DataSerializer#register(Class)
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java