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 Object implements ObjectKey
  • Constructor Details

    • TestObjectKey

      public TestObjectKey(Integer integer)
  • Method Details

    • getExpired

      public boolean getExpired()
      Description copied from interface: ObjectKey
      Indicates whether the cached object is still valid.
      Specified by:
      getExpired in interface ObjectKey
      Returns:
      true when the object is still valid; false otherwise
    • getObjectCreator

      public ObjectCreator getObjectCreator()
      Description copied from interface: ObjectKey
      The ObjectCreator which can create an Object for this key.
      Specified by:
      getObjectCreator in interface ObjectKey
      Returns:
      ObjectCreator
    • getSignature

      public Object getSignature()
      Description copied from interface: ObjectKey
      A signature which must be unique within one cache system. Think analogical of a key within a map.
      Specified by:
      getSignature in interface ObjectKey
      Returns:
      Signature object