|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A - the type of service addressespublic interface EndpointCache<A>
A cross-service cache of endpoint addresses used by DiscoveryDelegates.
Key,
DiscoveryDelegate| Method Summary | |
|---|---|
void |
clear(Key key)
Resets the cache for a given Key. |
A |
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 |
| Method Detail |
|---|
void clear(Key key)
throws IllegalArgumentException
Key.
key - the key
IllegalArgumentException - if the key is null
A get(Key key)
throws IllegalArgumentException
Key
key - the key
null if there is no endpoint address cached for the service
IllegalArgumentException - if the key is null
void put(Key Key,
A address)
throws IllegalArgumentException
Key
key - the keyaddress - the address
IllegalArgumentException - if the key or the address are null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||