Package de.hybris.platform.test
Class Cache2Test.TestObjectKey
- java.lang.Object
-
- de.hybris.platform.test.Cache2Test.TestObjectKey
-
- All Implemented Interfaces:
ObjectKey
- Enclosing class:
- Cache2Test
public static class Cache2Test.TestObjectKey extends java.lang.Object implements ObjectKey
-
-
Constructor Summary
Constructors Constructor Description TestObjectKey(java.lang.Integer integer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetExpired()Indicates whether the cached object is still valid.ObjectCreatorgetObjectCreator()TheObjectCreatorwhich can create an Object for this key.java.lang.ObjectgetSignature()A signature which must be unique within one cache system.
-
-
-
Method Detail
-
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
public ObjectCreator getObjectCreator()
Description copied from interface:ObjectKeyTheObjectCreatorwhich can create an Object for this key.- Specified by:
getObjectCreatorin interfaceObjectKey- Returns:
ObjectCreator
-
getSignature
public java.lang.Object 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
-
-