Class MarkedReference<T>

java.lang.Object
org.cometd.bayeux.MarkedReference<T>
Type Parameters:
T - the type of the reference

public class MarkedReference<T>
extends Object
Immutable, non-volatile, non-atomic version of AtomicMarkableReference.
  • Constructor Details

  • Method Details

    • empty

      public static <S> MarkedReference<S> empty()
      Type Parameters:
      S - the type of the null reference
      Returns:
      a null-reference, non-marked instance
    • getReference

      public T getReference()
    • isMarked

      public boolean isMarked()