boon/src/main/java/org/boon/cache/FastConcurrentReadLruLfuFifoCache.java
public void put( KEY key, VALUE value ) {
        CacheEntry<KEY, VALUE> entry = map.get( key );


        if ( entry == null ) {
            entry = new CacheEntry<>( key, value, order(), type, time() );
            list.add( entry );
            map.put( key, entry );
        } else {
            entry.readCount.incrementAndGet();
            entry.value = value;
        }
        evictIfNeeded();
    }
public void put( KEY key, VALUE value ) {
        CacheEntry<KEY, VALUE> entry = map.get( key );


        if ( entry == null ) {
            entry = new CacheEntry<>( key, value, order(), type, time() );
            list.add( entry );
            map.put( key, entry );
        } else {
            entry.readCount.incrementAndGet();
            entry.value = value;
        }
        evictIfNeeded();
    }
public void put ( KEY key , VALUE value ) { CacheEntry < KEY , VALUE > entry = map . get ( key ) ; if ( entry == null ) { entry = new CacheEntry <> ( key , value , order ( ) , type , time ( ) ) ; list . add ( entry ) ; map . put ( key , entry ) ; } else { entry . readCount . incrementAndGet ( ) ; entry . value = value ; } evictIfNeeded ( ) ; }
Put the value. This touches the lock so puts are **not** fast.

@param key the key key
@param value the value value
Put the value . This touches the lock so puts are ** not ** fast .