Class RegisteredStateMetaInfoBase

    • Field Detail

      • name

        @Nonnull
        protected final String name
        The name of the state
    • Constructor Detail

      • RegisteredStateMetaInfoBase

        public RegisteredStateMetaInfoBase​(@Nonnull
                                           String name)
    • Method Detail

      • getName

        @Nonnull
        public String getName()
      • withSerializerUpgradesAllowed

        @Nonnull
        public abstract RegisteredStateMetaInfoBase withSerializerUpgradesAllowed()
        create a new metadata object with Lazy serializer provider using existing one as a snapshot. Sometimes metadata was just created or updated, but its StateSerializerProvider will not allow further updates. So this method could replace it with a new one that contains a fresh LazilyRegisteredStateSerializerProvider.