perfsonar-dev - perfsonar: r5418 - trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils
Subject: perfsonar development work
List archive
perfsonar: r5418 - trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils
Chronological Thread
- From:
- To:
- Subject: perfsonar: r5418 - trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils
- Date: Tue, 15 Dec 2009 07:56:32 -0500
Author: krzjed
Date: 2009-12-15 07:56:32 -0500 (Tue, 15 Dec 2009)
New Revision: 5418
Modified:
trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils/PoolController.java
Log:
little enhancement
Modified:
trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils/PoolController.java
===================================================================
---
trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils/PoolController.java
2009-12-15 12:16:09 UTC (rev 5417)
+++
trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils/PoolController.java
2009-12-15 12:56:32 UTC (rev 5418)
@@ -18,6 +18,9 @@
return false;
}
while (this.used >= this.maxPoolSize) {
+ if (this.processingFinished) {
+ return false;
+ }
this.wait();
}
this.used++;
- perfsonar: r5418 - trunk/ps-mdm-lsclient-impl/src/main/java/org/perfsonar/ri/lsclient/utils, svnlog, 12/15/2009
Archive powered by MHonArc 2.6.16.