question: public boolean expired ( long expire ) { long mod = time . getTime ( ) ; long now = System . currentTimeMillis ( ) ; long diff = now - mod ; if ( diff > expire && getSource ( ) != NETWORK ) { return true ; } return false ; }
target:  Test if the response is expired against current time, given the expire duration in milliseconds. If the ajax source is NETWORK, it's never considered expired.