Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES_SPEC_PUBLIC-727
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: ganeshpuri
Votes: 2
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaserverfaces-spec-public

define ajax request delay

Created: 19/Jan/10 08:28 AM   Updated: 23/Dec/13 10:44 PM   Resolved: 23/Dec/13 10:44 PM
Component/s: Ajax/JavaScript
Affects Version/s: 2.0
Fix Version/s: 2.2

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 727
Status Whiteboard:

size_small importance_large

Tags:
Participants: Ed Burns, ganeshpuri and rogerk


 Description  « Hide

Defines the number of milliseconds before an ajax request is issued. Delayed
requests are only queued after the delay intervall, so another non-delayed
request that is triggered after the delayed request can be queued before the
delayed request. Still, delayed requests block queue space.

If

  • the queue size is set to x,
  • n requests are already queued and
  • m requests are already delayed
    then we have got x-n-m free queue slots.

If a request comes in and the queue is full (x-n-m==0) then one delayed request
is cancelled to make room for the new request. If no request is delayed (m==0)
then one queued request is cancelled to make room for the new request. If
several requests were delayed (m>1) the request to cancel is chosen
first-in-first-out.