Package org.apache.uima.util
Class CasCreationUtils.MetaDataCacheKey
java.lang.Object
org.apache.uima.util.CasCreationUtils.MetaDataCacheKey
- Enclosing class:
- CasCreationUtils
Caching of getMeta info that requires producing the resource *
- done because producing the resource can be very expensive *
including accessing remote things on the network *
Cache is cleared approximately every 30 seconds because remote resource's statuses may change *
*
Cache key is the ResourceSpecifier's class loaders and the ResourceManager *
Both the DataPath and the uima extension class loader are used as part of the key *
because differences in these could cause different metadata to be loaded *
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ResourceSpecifier
(package private) final ClassLoader
(package private) final String
-
Constructor Summary
ConstructorsConstructorDescriptionMetaDataCacheKey
(ResourceSpecifier resourceSpecifier, ResourceManager resourceManager) -
Method Summary
-
Field Details
-
resourceSpecifier
-
rmClassLoader
-
rmDataPath
-
-
Constructor Details
-
MetaDataCacheKey
MetaDataCacheKey(ResourceSpecifier resourceSpecifier, ResourceManager resourceManager)
-
-
Method Details