com.sapportals.wcm.util.cache

Interface ICacheEntry


public interface ICacheEntry

Represents a cache entry.


Method Summary
 long getExpirationTime()
           
 String getKey()
           
 long getModificationTime()
           
 Object getObject()
           
 long getSize()
           
 long getTimeToLive()
           
 boolean isAutoDelaying()
           
 boolean isExpired()
           
 

Method Detail

getKey

String getKey()
Returns:
key of the cache entry

getObject

Object getObject()
Returns:
object of the cache entry

getSize

long getSize()
Returns:
the size of the cache entry

getTimeToLive

long getTimeToLive()
Returns:
entries time to live in seconds

getExpirationTime

long getExpirationTime()
Returns:
absolute expiration time of the cache entry (0: never expires) (Date.getTime() compatible)

getModificationTime

long getModificationTime()
Returns:
date of last modification (Date.getTime() compatible)

isExpired

boolean isExpired()
Returns:
true iff the cache entry is expired

isAutoDelaying

boolean isAutoDelaying()
Returns:
true iff expiration is automatically delayed on access for the 'time to live' value
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice