1 | } else if (attr.equals(Constants.MINSPARETHREADS)) {↵ | | 1 | } else if (attr.equals(Constants.REQUESTCOUNT)) {↵
|
2 | threadinfo.setMinSpareThreads(parseInt(attributes.getValue(idx)));↵ | | 2 | requestinfo.setRequestCount(parseInt(attributes.getValue(idx)));↵
|
3 | } else if (attr.equals(Constants.MAXSPARETHREADS)) {↵ | | 3 | } else if (attr.equals(Constants.ERRORCOUNT)) {↵
|
4 | threadinfo.setMaxSpareThreads(parseInt(attributes.getValue(idx)));↵ | | 4 | requestinfo.setErrorCount(parseInt(attributes.getValue(idx)));↵
|
5 | } else if (attr.equals(Constants.CURRENTTHREADCOUNT)) {↵ | | 5 | } else if (attr.equals(Constants.BYTESRECEIVED)) {↵
|
6 | threadinfo.setCurrentThreadCount(parseInt(attributes.getValue(idx)));↵ | | 6 | requestinfo.setBytesReceived(parseLong(attributes.getValue(idx)));↵
|
7 | } else if (attr.equals(Constants.CURRENTBUSYTHREADS)) {↵ | | 7 | } else if (attr.equals(Constants.BYTESSENT)) {↵
|
8 | threadinfo.setCurrentThreadsBusy(parseInt(attributes.getValue(idx)));↵ | | 8 | requestinfo.setBytesSent(parseLong(attributes.getValue(idx)));↵
|
9 | | | 9 |
|