Class ConcurrentRef<T>


  • public class ConcurrentRef<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ConcurrentRef​(java.util.function.Consumer<T> deleter)  
      ConcurrentRef​(T object, java.util.function.Consumer<T> deleter)  
    • Constructor Detail

      • ConcurrentRef

        public ConcurrentRef​(java.util.function.Consumer<T> deleter)
      • ConcurrentRef

        public ConcurrentRef​(T object,
                             java.util.function.Consumer<T> deleter)
    • Method Detail

      • set

        public void set​(T object)
      • clear

        public void clear()