void setSerializer(DataSerializer serializer) {
      synchronized (this) {
        hasBeenSet = true;
        this.serializer = serializer;
        notifyAll();
      }
    }
Sets the serializer associated with this marker. It will notify any threads that are waiting
for the serializer to be registered.
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java