public int getTimeInSecondsSinceLastSync() {
    return lastSyncTime > 0 ? (int) (System.currentTimeMillis() - lastSyncTime) / 1000 : Integer.MAX_VALUE;
  }
@return the time in seconds since the last database sync / cache refresh
ambry-account/src/main/java/com/github/ambry/account/CachedAccountService.java