|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
You could define your own Repository. Default implementation uses global static class You could bound your ResultsRepository to user session for example.
RepositoryFactory
Method Summary | |
void |
addRecord(ResponseRecord record)
Add processing results to repository. |
ResponseRecord |
getRecord(java.lang.Object key)
Immediately get the results. |
ResponseRecord |
getRecord(java.lang.Object key,
int sleep)
Get results sleep if not yet avalable. |
java.lang.Object |
getResponseID(java.lang.String keyString)
|
Method Detail |
public void addRecord(ResponseRecord record)
public ResponseRecord getRecord(java.lang.Object key)
public ResponseRecord getRecord(java.lang.Object key, int sleep)
public java.lang.Object getResponseID(java.lang.String keyString)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |