org.hippoecm.hst.cache
Interface CacheElement

All Known Implementing Classes:
NOOPHstCache.NOOPCacheElement

public interface CacheElement

Interface for cached element. Abstraction around physical cache implementation.

Version:
$Id$

Method Summary
 Object getContent()
           
 Object getKey()
           
 int getTimeToIdleSeconds()
           
 int getTimeToLiveSeconds()
           
 boolean isEternal()
           
 void setEternal(boolean eternal)
           
 void setTimeToIdleSeconds(int timeToIdle)
           
 void setTimeToLiveSeconds(int timeToLive)
           
 

Method Detail

getKey

Object getKey()

getContent

Object getContent()

getTimeToLiveSeconds

int getTimeToLiveSeconds()

setTimeToLiveSeconds

void setTimeToLiveSeconds(int timeToLive)

getTimeToIdleSeconds

int getTimeToIdleSeconds()

setTimeToIdleSeconds

void setTimeToIdleSeconds(int timeToIdle)

isEternal

boolean isEternal()

setEternal

void setEternal(boolean eternal)


Copyright © 2008-2012 Hippo. All Rights Reserved.