Class LookupCacheManager.RefCountedCache

    • Constructor Detail

      • RefCountedCache

        public RefCountedCache​(LookupCache cache)
    • Method Detail

      • retain

        public void retain()
        Description copied from interface: RefCounted
        Increases the reference counter.
        Specified by:
        retain in interface RefCounted
      • release

        public boolean release()
        Description copied from interface: RefCounted
        Decreases the reference counter.
        Specified by:
        release in interface RefCounted
        Returns:
        true if the reference counter reached 0, false otherwise.