Interface EndpointCache<A>

Type Parameters:
A - the type of service addresses
All Known Implementing Classes:
DefaultEndpointCache

public interface EndpointCache<A>
A cross-service cache of endpoint addresses used by DiscoveryDelegates.
Author:
Fabio Simeoni
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clear(Key key)
    Resets the cache for a given Key.
    get(Key key)
    Returns the address cached for a given Key
    void
    put(Key key, A address)
    Caches an endpoint address for a given Key