Package de.hybris.platform.tx
Class InvalidationSet.Invalidation
java.lang.Object
de.hybris.platform.tx.InvalidationSet.Invalidation
- Enclosing class:
- InvalidationSet
Invalidation object representation. It contains all information to execute the actual invalidation.
This class is intended to be used inside a running transaction and therefore should be used by one thread only!
-
Method Details
-
getKey
Returns the invalidation key array.Please note that the amount of key elements used for invalidation depends upon the number returned by
getTopicDepth()! This is mainly because we re-use completeAbstractCacheUnitkeys for invalidation instead of creating new arrays all the time.- See Also:
-
getTopicDepth
public int getTopicDepth()Returns the number of key elements to be used for invalidation. Consequently this method returns either the full key array length or a lower number. All key elements that exceed this number are simply ignored during invalidation process.- See Also:
-
getInvalidationType
public int getInvalidationType()Returns the type of invalidation. May be one ofAbstractCacheUnit.INVALIDATIONTYPE_MODIFIEDorAbstractCacheUnit.INVALIDATIONTYPE_REMOVED. -
toString
-
hashCode
public int hashCode() -
equals
-
getMergingKey
-
merge
-