Interface TtlAttachments

    • Field Detail

      • KEY_IS_AUTO_WRAPPER

        static final String KEY_IS_AUTO_WRAPPER
        The attachment key of TTL task, weather this task is a auto wrapper task.

        so the value of this attachment is a boolean.

        Since:
        2.11.0
        See Also:
        Constant Field Values
    • Method Detail

      • setTtlAttachment

        void setTtlAttachment​(@NonNull
                              String key,
                              Object value)
        set the TTL attachments for TTL tasks
        Parameters:
        key - attachment key
        value - attachment value
        Since:
        2.11.0
      • getTtlAttachment

        <T> T getTtlAttachment​(@NonNull
                               String key)
        get the TTL attachment for TTL tasks
        Parameters:
        key - attachment key
        Since:
        2.11.0