public Result < V , E > get ( K key , Refresher < ? super K , ? extends V , ? extends E > refresher ) { Result < V , E > result = get ( key ) ; if ( result == null ) result = put ( key , refresher ) ; return result ; }
Gets the value if currently in the cache . If not Runs the refresher immediately to obtain the result then places an entry into the cache .