Package org.apache.camel.catalog.impl
Class AbstractCachingCamelCatalog
java.lang.Object
org.apache.camel.catalog.impl.AbstractCamelCatalog
org.apache.camel.catalog.impl.AbstractCachingCamelCatalog
- Direct Known Subclasses:
DefaultRuntimeCamelCatalog
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates theAbstractCachingCamelCatalogwithout caching enabled.protectedAbstractCachingCamelCatalog(boolean caching) Creates theAbstractCachingCamelCatalog -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Tprotected <T> Tprotected <T> Tprotected voidprotected <T> TdoGetCache(String key, String name, Function<String, T> loader) getCache()booleanTo turn caching on or offvoidsetCaching(boolean caching) To turn caching on or offMethods inherited from class org.apache.camel.catalog.impl.AbstractCamelCatalog
asEndpointUri, asEndpointUriXml, componentJSonSchema, componentModel, dataFormatJSonSchema, dataFormatModel, devConsoleJSonSchema, devConsoleModel, eipModel, endpointComponentName, endpointLenientProperties, endpointProperties, getJSonSchemaResolver, getSuggestionStrategy, languageJSonSchema, languageModel, mainJSonSchema, mainModel, modelJSonSchema, otherJSonSchema, otherModel, pojoBeanJSonSchema, pojoBeanModel, setJSonSchemaResolver, setSuggestionStrategy, transformerJSonSchema, transformerModel, validateConfigurationProperty, validateEndpointProperties, validateEndpointProperties, validateEndpointProperties, validateLanguageExpression, validateLanguagePredicate, validateProperties, validateTimePattern
-
Constructor Details
-
AbstractCachingCamelCatalog
protected AbstractCachingCamelCatalog()Creates theAbstractCachingCamelCatalogwithout caching enabled. -
AbstractCachingCamelCatalog
protected AbstractCachingCamelCatalog(boolean caching) Creates theAbstractCachingCamelCatalog- Parameters:
caching- whether to use cache
-
-
Method Details
-
isCaching
public boolean isCaching()To turn caching on or off -
setCaching
public void setCaching(boolean caching) To turn caching on or off -
getCache
-
clearCache
protected void clearCache() -
cache
-
cache
-
cache
-
doGetCache
-