public interface KeepApplicationCache extends KeepBaseCache
Interface for contract for caching external applications
Modifier and Type | Method and Description |
---|---|
KeepApplicationConfigInfo |
addToCache(KeepApplicationConfigInfo config)
Adds external application to cache
|
io.vertx.core.json.JsonObject |
dumpAllForAdmin()
Converts all of bucket to a JsonObject
|
KeepApplicationConfigInfo |
getApplicationConfigInfo(java.lang.String key)
Gets an external application by its application id
|
KeepApplicationConfigInfo |
getApplicationConfigInfo(java.lang.String key,
KeepJnxSession session)
Gets or loads an external application by its application id
|
clear, evict, getCachePrefix, hasEntry
KeepApplicationConfigInfo addToCache(KeepApplicationConfigInfo config)
Adds external application to cache
config
- external application config infoio.vertx.core.json.JsonObject dumpAllForAdmin()
Converts all of bucket to a JsonObject
KeepApplicationConfigInfo getApplicationConfigInfo(java.lang.String key) throws KeepException
Gets an external application by its application id
key
- application idKeepException
KeepApplicationConfigInfo getApplicationConfigInfo(java.lang.String key, KeepJnxSession session) throws KeepException
Gets or loads an external application by its application id
key
- application idsession
- a Keep session to load that infoKeepException