void recordAccess(HashEntry<K,V> header,EvictionPolicy evictionPolicy){
  waitForModifyPermition(header);
  remove();
  addBefore((HashEntry<K,V>)evictionPolicy.recordAccess(header,this));
  accessCount++;
  lastAccessedTime=System.currentTimeMillis();
  grandModifyAndCloneAllPermition(header);
}

void recordAccess ( HashEntry < K , V > header , EvictionPolicy evictionPolicy ) { waitForModifyPermition ( header ) ; remove ( ) ; addBefore ( ( HashEntry < K , V > ) evictionPolicy . recordAccess ( header , this ) ) ; accessCount ++ ; lastAccessedTime = System . currentTimeMillis ( ) ; grandModifyAndCloneAllPermition ( header ) ; }
this method is invoked by the superclass whenever the value of a pre - existing entry is read by map . get or modified by map . set . if the enclosing map is access - ordered , it moves the entry to the end of the list ; otherwise , it does nothing .
