Package de.hybris.platform.test
Class Cache2Test.TestObjectKey
java.lang.Object
de.hybris.platform.test.Cache2Test.TestObjectKey
- All Implemented Interfaces:
ObjectKey
- Enclosing class:
- Cache2Test
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the cached object is still valid.TheObjectCreatorwhich can create an Object for this key.A signature which must be unique within one cache system.
-
Constructor Details
-
TestObjectKey
-
-
Method Details
-
getExpired
public boolean getExpired()Description copied from interface:ObjectKeyIndicates whether the cached object is still valid.- Specified by:
getExpiredin interfaceObjectKey- Returns:
- true when the object is still valid; false otherwise
-
getObjectCreator
Description copied from interface:ObjectKeyTheObjectCreatorwhich can create an Object for this key.- Specified by:
getObjectCreatorin interfaceObjectKey- Returns:
ObjectCreator
-
getSignature
Description copied from interface:ObjectKeyA signature which must be unique within one cache system. Think analogical of a key within a map.- Specified by:
getSignaturein interfaceObjectKey- Returns:
- Signature object
-