boolean function ( ) { if ( refreshInterval . millis ( ) == 0 ) { return true ; } final long loc0 = System . currentTimeMillis ( ) ; return ( loc0 - lastRefreshTimestamp ) > refreshInterval . millis ( ) ; }
returns true iff the cache needs to be refreshed . concode_field_sep TimeValue refreshInterval concode_elem_sep Lock refreshLock concode_elem_sep T cached concode_elem_sep long lastRefreshTimestamp concode_field_sep T getOrRefresh concode_elem_sep T refresh