From: Tomas Olvecky Date: Wed, 30 Apr 2014 10:36:49 +0000 (+0200) Subject: Bug 930 - Add bound to queue in SingletonHandler#NOTIFICATION_EXECUTOR . X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~153^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=8e654401ca264098b4bcfb25fe1411caed10ebe2;hp=8e654401ca264098b4bcfb25fe1411caed10ebe2 Bug 930 - Add bound to queue in SingletonHandler#NOTIFICATION_EXECUTOR . Add queue capacity with hardcoded value 10. When maxPoolSize + queue capacity is reached, caller thread will be blocked. Mark thread as interrupted when catching InterruptedException, propagate it to caller. Remove code that pushed first two runnables to queue when core size was reached - saturate whole threadpool capacity first. Change-Id: I9c52b52eac127bea0cbb2abf7a65c0165daf8895 Signed-off-by: Tomas Olvecky ---