Class MapKeyLookupResult


  • public class MapKeyLookupResult
    extends java.lang.Object
    Class for wrapping cache key lookup results. The result of a key lookup will be an application name and class loader, or a class loader. Note that all instances of this class are expected to have a loader set.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapKeyLookupResult​(java.lang.ClassLoader classLoader)
      This constructor should be used when caching on class loader.
      MapKeyLookupResult​(java.lang.String applicationName, java.lang.ClassLoader classLoader)
      This constructor should be used when caching on application name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getApplicationName()
      Return the applicationName value.
      java.lang.ClassLoader getLoader()
      Return the loader value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapKeyLookupResult

        public MapKeyLookupResult​(java.lang.ClassLoader classLoader)
        This constructor should be used when caching on class loader.
        Parameters:
        classLoader -
      • MapKeyLookupResult

        public MapKeyLookupResult​(java.lang.String applicationName,
                                  java.lang.ClassLoader classLoader)
        This constructor should be used when caching on application name. The loader will be used to determine if a redeploy has occurred, i.e. same application name but different class loaders.
        Parameters:
        applicationName -
        classLoader -
    • Method Detail

      • getApplicationName

        public java.lang.String getApplicationName()
        Return the applicationName value.
        Returns:
      • getLoader

        public java.lang.ClassLoader getLoader()
        Return the loader value.
        Returns: