Package net.sf.ehcache.config
Class ElementValueComparatorConfiguration
- java.lang.Object
-
- net.sf.ehcache.config.ElementValueComparatorConfiguration
-
public class ElementValueComparatorConfiguration extends java.lang.Object- Author:
- Ludovic Orban
-
-
Constructor Summary
Constructors Constructor Description ElementValueComparatorConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementValueComparatorcreateElementComparatorInstance(CacheConfiguration cacheConfiguration, java.lang.ClassLoader loader)Get (and potentially) instantiate the instancebooleanequals(java.lang.Object obj)java.lang.StringgetClassName()Returns the fully qualified class name for the ElementValueComparator to useinthashCode()voidsetClass(java.lang.String className)Sets the fully qualified class name for the ElementValueComparator to use
-
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Returns the fully qualified class name for the ElementValueComparator to use- Returns:
- FQCN to the ElementValueComparator implementation to use
-
setClass
public void setClass(java.lang.String className)
Sets the fully qualified class name for the ElementValueComparator to use- Parameters:
className- FQCN
-
createElementComparatorInstance
public ElementValueComparator createElementComparatorInstance(CacheConfiguration cacheConfiguration, java.lang.ClassLoader loader)
Get (and potentially) instantiate the instance- Parameters:
cacheConfiguration- the cache configurationloader- classloader to use to create the instance- Returns:
- the instance
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-