Skip navigation links
org.eclipse.persistence.sdo.helper
Class MapKeyLookupResult
java.lang.Object
org.eclipse.persistence.sdo.helper.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 |
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 |
java.lang.String |
getApplicationName()
Return the applicationName value. |
java.lang.ClassLoader |
getLoader()
Return the loader value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationName
private java.lang.String applicationName
classLoader
private java.lang.ClassLoader classLoader
MapKeyLookupResult
public MapKeyLookupResult(java.lang.ClassLoader classLoader)
- This constructor should be used when caching on class loader.
- Parameters:
loader
-
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
-
loader
-
getApplicationName
public java.lang.String getApplicationName()
- Return the applicationName value.
-
- Returns:
getLoader
public java.lang.ClassLoader getLoader()
- Return the loader value.
-
- Returns:
Skip navigation links