public synchronized boolean isLocatorCurrentInDiscoveryLayer ( Locator loc ) { LocatorCacheEntry entry = insertedLocators . getIfPresent ( loc . toString ( ) ) ; return entry != null && entry . isDiscoveryCurrent ( ) ; }
Checks if Locator is recently inserted in the discovery layer