Class ConcurrentRef<T>

java.lang.Object
com.linkedin.venice.utils.ConcurrentRef<T>

public class ConcurrentRef<T> extends Object
  • Constructor Details

    • ConcurrentRef

      public ConcurrentRef(Consumer<T> deleter)
    • ConcurrentRef

      public ConcurrentRef(T object, Consumer<T> deleter)
  • Method Details

    • get

      public ReferenceCounted<T> get()
    • set

      public void set(T object)
    • clear

      public void clear()