Class MarkHolderProvider


  • public abstract class MarkHolderProvider
    extends java.lang.Object
    • Constructor Detail

      • MarkHolderProvider

        protected MarkHolderProvider()
    • Method Detail

      • create

        @Deprecated
        public MarkHolder create()
        Deprecated.
        To be removed in 0.26.0
        Returns:
        the new MarkHolder for the current thread.
      • create

        public MarkHolder create​(long markHolderId)
        Creates a new MarkHolder. Mark holders are always mutated by the thread that created them, (e.g. THIS thread), but may be read by other threads.
        Parameters:
        markHolderId - the Unique ID associated with the Mark Holder. This exists as a work around to Java's thread ID, which does not guarantee they will not be reused.
        Returns:
        the new MarkHolder for the current thread.
        Since:
        0.24.0