| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestCounter
Interface to count requests.
| Method Summary | |
|---|---|
|  void | addRequest(java.lang.String id)Adds the request. | 
|  int | getNumberOfRequests(java.lang.String id)Gets the number of requests for a specific identifier | 
|  void | initNumberOfRequest(java.lang.String id,
                    int nbRequests)Inits the number of request. | 
|  void | remove(java.lang.String id)Removes the. | 
| Method Detail | 
|---|
int getNumberOfRequests(java.lang.String id)
id - the id
void addRequest(java.lang.String id)
id - the idvoid remove(java.lang.String id)
id - the id
void initNumberOfRequest(java.lang.String id,
                         int nbRequests)
id - the idnbRequests - the nb requests| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||