Interface AbstractIntegrationServiceCache.CacheEntry<T extends Serializable>

Type Parameters:
T - the entry type
All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractInMemoryIntegrationServiceCache.InMemoryCacheEntry
Enclosing class:
AbstractIntegrationServiceCache<T extends Serializable>

public static interface AbstractIntegrationServiceCache.CacheEntry<T extends Serializable> extends Serializable
Representation of a cache entry.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the expiration time (in millis since epoch).
    Gets the stored object.
    Gets the owner identity.
  • Method Details

    • getObject

      T getObject()
      Gets the stored object.
      Returns:
      the stored object (never null)
    • getOwnerId

      String getOwnerId()
      Gets the owner identity.
      Returns:
      the owner id (may be null)
    • getExpirationTime

      Long getExpirationTime()
      Gets the expiration time (in millis since epoch).
      Returns:
      the expiration time (or null if the object should live until deleted)