Searched refs:mdnsRecord (Results 1 – 1 of 1) sorted by relevance
336 public static boolean isRecordRenewalNeeded(@NonNull MdnsRecord mdnsRecord, final long now) { in isRecordRenewalNeeded() argument337 return mdnsRecord.getTtl() > 0 in isRecordRenewalNeeded()338 && mdnsRecord.getRemainingTTL(now) <= mdnsRecord.getTtl() / 2; in isRecordRenewalNeeded()