コード例 #1
0
  public int getLastUpdateTime() {
    TRTrackerAnnouncerHelper active = getBestActive();

    if (active != null) {

      return (active.getLastUpdateTime());
    }

    return (0);
  }
コード例 #2
0
 public boolean canManuallyUpdate() {
   return (((SystemTime.getCurrentTime() / 1000 - helper.getLastUpdateTime()
       >= TRTrackerAnnouncer.REFRESH_MINIMUM_SECS)));
 }