public static DiscoverInfo getDiscoveryInfoByNodeVer ( String nodeVer ) { DiscoverInfo info = CAPS_CACHE . lookup ( nodeVer ) ; // If it was not in CAPS_CACHE, try to retrieve the information from persistentCache if ( info == null && persistentCache != null ) { info = persistentCache . lookup ( nodeVer ) ; // Promote the information to CAPS_CACHE if one was found if ( info != null ) { CAPS_CACHE . put ( nodeVer , info ) ; } } // If we were able to retrieve information from one of the caches, copy it before returning if ( info != null ) info = new DiscoverInfo ( info ) ; return info ; }
Retrieve DiscoverInfo for a specific node .