| |
|
| java.lang.Object com.sun.mobile.responsebuffer.ResponseBufferGroup
ResponseBufferGroup | class ResponseBufferGroup (Code) | | ResponseBufferGroup holds a ResponseBufferEntry object. It also assigns a
number to each response buffer entry created in this group and also
remembers the request urls for the just invalidated buffer entries.
The idea behind this grouping is that this would hold all the response_buffer
entries and request urls for the recently invalidated entries for a particular
SSOToken and so it is easier to apply the policies which limits the number
ResponseBufferEntry objects the user associated with this SSOToken is allowed
to have.
No method in this class is public, they are all package private. The only
consumers of this class are ResponseBufferService and ResponseBufferEntry
|
Constructor Summary | |
| ResponseBufferGroup(int max_num_invalidated_entry_urls) This constructor is only called from ResponseBufferService. |
ResponseBufferGroup | ResponseBufferGroup(int max_num_invalidated_entry_urls)(Code) | | This constructor is only called from ResponseBufferService.
See Also: ResponseBufferService |
getRequestURL | synchronized String getRequestURL(Integer entry_number)(Code) | | Gets the RequestURL which generated a ResponseBufferEntry for a given entry_number
|
invalidate | synchronized void invalidate(Integer entry_number)(Code) | | Invalidates the ResponseBufferEntry identified by the given response_buffer_entry_number
|
invalidate | synchronized void invalidate()(Code) | | Invalidate all the ResponseBufferEntries
|
isValid | public synchronized boolean isValid()(Code) | | This ResponseBufferGroup is valid as long as the SSOToken associated
with this group is valid. The mapping between SSOToken and
ResponseBufferGroup is managed by ResponseBufferService.
See Also: ResponseBufferService |
|
|
|