Class MapKeyLookupResult
java.lang.Object
org.eclipse.persistence.sdo.helper.MapKeyLookupResult
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
ConstructorDescriptionMapKeyLookupResult
(ClassLoader classLoader) This constructor should be used when caching on class loader.MapKeyLookupResult
(String applicationName, ClassLoader classLoader) This constructor should be used when caching on application name. -
Method Summary
Modifier and TypeMethodDescriptionReturn the applicationName value.Return the loader value.
-
Constructor Details
-
MapKeyLookupResult
This constructor should be used when caching on class loader.- Parameters:
classLoader
-
-
MapKeyLookupResult
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 Details
-
getApplicationName
Return the applicationName value.- Returns:
-
getLoader
Return the loader value.- Returns:
-