Skip navigation links
oracle.eclipselink.coherence.integrated.internal.cache
Class LockVersionExtractor
java.lang.Object
oracle.eclipselink.coherence.integrated.internal.cache.LockVersionExtractor
- All Implemented Interfaces:
- com.tangosol.util.ValueExtractor, java.io.Serializable, EclipseLinkExtractor
-
public class LockVersionExtractor
- extends java.lang.Object
- implements com.tangosol.util.ValueExtractor, java.io.Serializable, EclipseLinkExtractor
Used during conditional puts of Optimistically Locked objects. This Class is used to extract the version value from the object.
- Since:
- Oracle TopLink 11g (11.1.1.0.0)
- Author:
- gyorke
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.tangosol.util.ValueExtractor |
hashCode |
accessor
protected AttributeAccessor accessor
className
protected java.lang.String className
LockVersionExtractor
public LockVersionExtractor(AttributeAccessor accessor,
java.lang.String className)
extract
public java.lang.Object extract(java.lang.Object arg0)
-
- Specified by:
extract
in interface com.tangosol.util.ValueExtractor
equals
public boolean equals(java.lang.Object obj)
-
- Specified by:
equals
in interface com.tangosol.util.ValueExtractor
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
-
- Specified by:
toString
in interface com.tangosol.util.ValueExtractor
- Overrides:
toString
in class java.lang.Object
getAccessor
public AttributeAccessor getAccessor()
- Description copied from interface:
EclipseLinkExtractor
- INTERNAL: Returns a reference to the AttributeAccessor used by the extractor.
-
- Specified by:
getAccessor
in interface EclipseLinkExtractor
-
- Returns:
- the accessor
getClassName
public java.lang.String getClassName()
-
- Returns:
- the className
setAccessor
public void setAccessor(AttributeAccessor accessor)
- Description copied from interface:
EclipseLinkExtractor
- INTERNAL:
-
- Specified by:
setAccessor
in interface EclipseLinkExtractor
-
- Parameters:
accessor
- the accessor to set
setClassName
public void setClassName(java.lang.String className)
-
- Parameters:
className
- the className to set
Skip navigation links