|
Oracle Containers for J2EE Support for JavaServer Pages Java API Reference 10g (10.1.3.1.0) B28960-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 |
equals, 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()
|
Oracle Containers for J2EE Support for JavaServer Pages Java API Reference 10g (10.1.3.1.0) B28960-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||