public void put ( String hostname , int netId , InetAddress [ ] addresses ) { cache . put ( new AddressCacheKey ( hostname , netId ) , new AddressCacheEntry ( addresses ) ) ; }
Associates the given addresses with hostname . The association will expire after a certain length of time .