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;
}

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 ; }
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 .
