org.apache.jetspeed.cache
Interface CacheElement
- All Known Subinterfaces:
- ContentCacheElement
public interface CacheElement
Provides interface to cached elements
Abstraction around atual cache implementation
- Version:
- $Id: $
- Author:
- David Sean Taylor
ActionAdded
static final int ActionAdded
- See Also:
- Constant Field Values
ActionChanged
static final int ActionChanged
- See Also:
- Constant Field Values
ActionRemoved
static final int ActionRemoved
- See Also:
- Constant Field Values
ActionEvicted
static final int ActionEvicted
- See Also:
- Constant Field Values
ActionExpired
static final int ActionExpired
- See Also:
- Constant Field Values
getTimeToIdleSeconds
int getTimeToIdleSeconds()
- Returns:
- the idle time in seconds for this cache element
getTimeToLiveSeconds
int getTimeToLiveSeconds()
- Returns:
- the idle time in seconds for this cache element
setTimeToLiveSeconds
void setTimeToLiveSeconds(int timeToLive)
setTimeToIdleSeconds
void setTimeToIdleSeconds(int timeToIdle)
getContent
Object getContent()
getKey
Object getKey()
isEternal
boolean isEternal()
setEternal
void setEternal(boolean eternal)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.