public interface ResponseCache
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(Key key)
Get the cached information about applications.
|
byte[] |
getGZIP(Key key)
Get the compressed information about the applications.
|
java.util.concurrent.atomic.AtomicLong |
getVersionDelta() |
java.util.concurrent.atomic.AtomicLong |
getVersionDeltaWithRegions() |
void |
invalidate(java.lang.String appName,
java.lang.String vipAddress,
java.lang.String secureVipAddress) |
void invalidate(java.lang.String appName,
@Nullable
java.lang.String vipAddress,
@Nullable
java.lang.String secureVipAddress)
java.util.concurrent.atomic.AtomicLong getVersionDelta()
java.util.concurrent.atomic.AtomicLong getVersionDeltaWithRegions()
java.lang.String get(Key key)
If the cached information is not available it is generated on the first request. After the first request, the information is then updated periodically by a background thread.
key - the key for which the cached information needs to be obtained.byte[] getGZIP(Key key)
key - the key for which the compressed cached information needs to be obtained.