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 |
---|---|
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.
|
int staticSize()
int dynamicSize()
int getMaximumCacheSize()
void purge()
boolean isStatic(String key)
key
- the endpoint keyApache Camel