Class CasCreationUtils.MetaDataCacheKey

  • Enclosing class:
    CasCreationUtils

    private static class CasCreationUtils.MetaDataCacheKey
    extends java.lang.Object
    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 Detail

      • rmClassLoader

        final java.lang.ClassLoader rmClassLoader
      • rmDataPath

        final java.lang.String rmDataPath
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object