|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FragmentInfo extends the EntryInfo interface to add variables unique to externally cacheable pages.
EntryInfo and FragmentInfo Objects are attached to each cache entry. IdGenerators and MetaDataGenerators use these interfaces to define the caching metadata for an entry.
Typically a Id/MetaDataGenerator will get an entry's FragmentInfo object from the ServletCacheRequest, and use the object's set methods to configure that entry.
The following is a summary of the caching metadata for a CacheEntry:
Fields inherited from interface com.ibm.websphere.cache.EntryInfo |
---|
NOT_SHARED, SHARED_PULL, SHARED_PUSH, SHARED_PUSH_PULL |
Method Summary | |
---|---|
java.lang.String |
getExternalCacheGroupId()
This gets the externalCacheGroupId variable. |
boolean |
getStoreAttributes()
This indicates whether or not request attributes are being saved with the servlet response. |
boolean |
getStoreCookies()
This indicates whether or not cookies are being saved with the servlet response. |
void |
setExternalCacheGroupId(java.lang.String externalCacheGroupId)
This sets the externalCacheGroupId variable. |
void |
setStoreAttributes(boolean b)
This sets the store-attributes variable. |
void |
setStoreCookies(boolean b)
This sets the store-cookies variable. |
boolean |
wasExternalCacheGroupIdSet()
This indicates whether the client set the external cache group id in this FragmentInfo. |
Methods inherited from interface com.ibm.websphere.cache.EntryInfo |
---|
addDataId, addTemplate, getDataIds, getExpirationTime, getId, getPersistToDisk, getPriority, getSharingPolicy, getTemplate, getTemplates, getTimeLimit, isBatchEnabled, isNotShared, isSharedPull, isSharedPush, setBatchEnabled, setExpirationTime, setId, setPersistToDisk, setPriority, setSharingPolicy, setTimeLimit |
Method Detail |
public java.lang.String getExternalCacheGroupId()
public void setExternalCacheGroupId(java.lang.String externalCacheGroupId)
externalCacheGroupId
- The externalCacheGroupId.public boolean wasExternalCacheGroupIdSet()
public void setStoreAttributes(boolean b)
b
- a boolean that indicates whether or not attributes should be
saved.public boolean getStoreAttributes()
public void setStoreCookies(boolean b)
b
- a boolean that indicates whether or not cookies should be
saved.public boolean getStoreCookies()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |