K
- endpoint keypublic interface EndpointRegistry<K> extends Map<K,Endpoint>, StaticService
LRUCache
and may evict endpoints which hasn't been requested recentlyModifier and Type | Method and Description |
---|---|
void |
cleanUp()
Cleanup the cache (purging stale entries)
|
int |
dynamicSize()
Number of endpoints in the dynamic registry
|
int |
getMaximumCacheSize()
Maximum number of entries to store in the dynamic registry
|
boolean |
isDynamic(String key)
Whether the given endpoint is stored in the dynamic cache
|
boolean |
isStatic(String key)
Whether the given endpoint is stored in the static cache
|
void |
purge()
Purges the cache (removes endpoints from the dynamic cache)
|
int |
staticSize()
Number of endpoints in the static registry.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
int staticSize()
int dynamicSize()
int getMaximumCacheSize()
void purge()
boolean isStatic(String key)
key
- the endpoint keyboolean isDynamic(String key)
key
- the endpoint keyvoid cleanUp()
Apache Camel