public class EndpointRegistry extends LRUSoftCache<org.apache.camel.impl.EndpointKey,Endpoint> implements StaticService
LRUSoftCache.
We use a soft reference cache to allow the JVM to re-claim memory if it runs low on memory.| Constructor and Description |
|---|
EndpointRegistry(CamelContext context) |
EndpointRegistry(CamelContext context,
Map<org.apache.camel.impl.EndpointKey,Endpoint> endpoints) |
| Modifier and Type | Method and Description |
|---|---|
void |
purge()
Purges the cache
|
void |
start()
Starts the service
|
void |
stop()
Stops the service
|
String |
toString() |
containsKey, entrySet, get, isEmpty, put, putAll, remove, size, valuesclear, containsValue, getEvicted, getHits, getMaxCacheSize, getMisses, keySet, onEviction, resetStatisticspublic EndpointRegistry(CamelContext context)
public EndpointRegistry(CamelContext context, Map<org.apache.camel.impl.EndpointKey,Endpoint> endpoints)
public void start() throws Exception
Servicepublic void stop() throws Exception
Servicepublic void purge()
public String toString()
toString in class LRUSoftCache<org.apache.camel.impl.EndpointKey,Endpoint>Apache Camel