|
Oracle Application Server Containers for J2EE Support for JavaServer Pages API Reference 10g (9.0.4) B10387-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.jsp.jwcache.CacheBlock
CacheBlock class that represents the basic meta-data and actual cache data of cache block. The basic meta-data includes the creation time and the expiration time of a cache block.
The actual cache data must be serializable, in order for the cache storage to write to persistent storage.
| Constructor Summary | |
CacheBlock(long creationTime, long expirationTime, java.lang.Object data)Constructor for Cache Block objects | |
| Method Summary | |
long |
getCreationTime()To get the creation time of a cache block |
java.lang.Object |
getData()To get the actual cache data of a cache block |
long |
getExpirationTime()To get the expiration time of a cache block |
java.lang.String |
toString()To get the description string of this cache block for debugging purpose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CacheBlock(long creationTime,
long expirationTime,
java.lang.Object data)
Users should do not need to call this constructor themselves, when they need to store data into the cache. Cache Repository will construct a Cache Block object to contain the meta data and actual cached data, when users request a piece of cache from the repository.
creationTime - the creation time of a cache blockexpirationTime - the expiration time of a cache blockdata - the actual cache data| Method Detail |
public long getCreationTime()
public long getExpirationTime()
public java.lang.Object getData()
public java.lang.String toString()
toString in class java.lang.Object
|
Oracle Application Server Containers for J2EE Support for JavaServer Pages API Reference 10g (9.0.4) B10387-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||