inet.ipaddr

Class IPAddressNetwork.IPAddressStringCache

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    IPAddressNetwork


    public static class IPAddressNetwork.IPAddressStringCache
    extends IPAddressNetwork.HostIdentifierStringCache<IPAddressString>
    Choose a map of your choice to implement a cache of address strings and their associated addresses. The map will map string representations of the address to IPAddressString objects, which in turn cache any resulting IPAddress objects. Those objects are all themselves thread-safe, but the cache will only be thread-safe if you choose a thread-safe map such as ConcurrentHashMap.
    See Also:
    Serialized Form