Bug 1252199 - "active-count" metric is missing for "blocking-bounded-queue-thread-pool"
Summary: "active-count" metric is missing for "blocking-bounded-queue-thread-pool"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: jboss-set
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-11 00:41 UTC by Anu Saji
Modified: 2019-07-11 09:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 00:37:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Anu Saji 2015-08-11 00:41:26 UTC
Description of problem:
The "active-count" metric is missing for blocking-bounded-queue-thread-pool 

Version-Release number of selected component (if applicable):
EAP6.3


How reproducible:
In standalone mode 

standalone.xml configure something similar to this 
~~~
<subsystem xmlns="urn:jboss:domain:threads:1.1">
            <thread-factory name="http-connector-factory" group-name="bq-thread-pool" thread-name-pattern="HTTPS-%t"/>
            <blocking-bounded-queue-thread-pool name="bq-thread-pool">
                <core-threads count="400"/>
                <queue-length count="200"/>
                <max-threads count="600"/>
                <keepalive-time time="1" unit="minutes"/>
                <thread-factory name="http-connector-factory"/>
            </blocking-bounded-queue-thread-pool>
        </subsystem>
~~~


Output
~~~

ls -l /subsystem=threads/blocking-bounded-queue-thread-pool=bq-thread-pool
ATTRIBUTE            VALUE                              TYPE    
allow-core-timeout   false                              BOOLEAN 
core-threads         400                                INT     
current-thread-count 0                                  INT     
keepalive-time       {"time" => 1L,"unit" => "MINUTES"} OBJECT  
largest-thread-count 0                                  INT     
max-threads          600                                INT     
name                 bq-thread-pool                     STRING  
queue-length         200                                INT     
queue-size           0                                  INT     
rejected-count       0                                  INT     
thread-factory       http-connector-factory             STRING  
~~~



Actual results:
ls -l /subsystem=threads/blocking-bounded-queue-thread-pool=bq-thread-pool
ATTRIBUTE            VALUE                              TYPE    
allow-core-timeout   false                              BOOLEAN 
core-threads         400                                INT     
current-thread-count 0                                  INT     
keepalive-time       {"time" => 1L,"unit" => "MINUTES"} OBJECT  
largest-thread-count 0                                  INT     
max-threads          600                                INT     
name                 bq-thread-pool                     STRING  
queue-length         200                                INT     
queue-size           0                                  INT     
rejected-count       0                                  INT     
thread-factory       http-connector-factory             STRING  
~~~

Expected results:

In addition to the earlier metrics expect the following count
~~~
ATTRIBUTE            VALUE     TYPE
active-count         0         INT
~~~
Additional info:

Comment 3 Brian Stansberry 2015-08-12 00:37:11 UTC
This a duplicate of the 1021911 Enhancement request.


Note You need to log in before you can comment on or make changes to this bug.