| |
|
| java.lang.Object com.sun.mobile.responsebuffer.ResponseBufferEntry
ResponseBufferEntry | public class ResponseBufferEntry (Code) | | ResponseBufferEntry is a wrapper for Aligo's Cache (com.aligo.util.Cache)
objects. The only utility it provides is storage management and
lifecycle management.
Aligo's Cache objects are populated by the RenderingEngine when
the data to be rendered is much too big for the device.
|
Constructor Summary | |
| ResponseBufferEntry(ResponseBufferGroup response_buffer_group, Integer response_buffer_entry_number, Cache buffer) Creates a ResponseBufferEntry in a given ResponseBufferGroup with a
given entry number for buffering the data generated by the given
request url.
Nobody other than ResponseBufferService should be calling this. |
ResponseBufferEntry | ResponseBufferEntry(ResponseBufferGroup response_buffer_group, Integer response_buffer_entry_number, Cache buffer)(Code) | | Creates a ResponseBufferEntry in a given ResponseBufferGroup with a
given entry number for buffering the data generated by the given
request url.
Nobody other than ResponseBufferService should be calling this. Every
other caller should be using the following method instead.
See Also: com.sun.portal.wireless.cache.ResponseBufferService |
getEntryNumber | public Integer getEntryNumber()(Code) | | Gets the number assigned to this ResponseBufferEntry by its parent
ResponseBufferGroup.
|
getRequestURL | public String getRequestURL()(Code) | | Gets the request url which generated the data buffered and managed by this
ResponseBufferEntry.
|
invalidate | public synchronized void invalidate()(Code) | | |
isValid | public synchronized boolean isValid()(Code) | | Returns the validity of this ResponseBufferEntry
|
setInvalid | synchronized void setInvalid()(Code) | | Marks this entry invalid. Throws StaleResponseBufferDataException on further calls
to getCache method.
See Also: com.sun.portal.wireless.cache.StaleResponseBufferDataException |
|
|
|