| Constructor and Description |
|---|
NoCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clear()
Clears all entries in the cache.
|
ASNResponse |
getAsn(String asn)
Gets the ASNResponse stored in cache.
|
IPResponse |
getIp(String ip)
Gets the IPResponse stored in cache.
|
boolean |
setAsn(String asn,
ASNResponse response)
Sets the ASN in the cache.
|
boolean |
setIp(String ip,
IPResponse response)
Sets the IP in the cache.
|
public IPResponse getIp(String ip)
Cachepublic ASNResponse getAsn(String asn)
Cachepublic boolean setIp(String ip, IPResponse response)
Cachepublic boolean setAsn(String asn, ASNResponse response)
CacheCopyright © 2019. All rights reserved.