Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Bug 998673 - Thread Pool keepalive-time-unit needs to define allowed …
Browse files Browse the repository at this point in the history
…values so the user doesn't have to guess

(cherry picked from commit 7bef780)
Signed-off-by: Thomas Segismont <tsegismo@redhat.com>
  • Loading branch information
Stefan Negrea authored and tsegismont committed Aug 30, 2014
1 parent fe35b53 commit 349b90e
Showing 1 changed file with 120 additions and 12 deletions.
132 changes: 120 additions & 12 deletions modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml
Expand Up @@ -2934,7 +2934,16 @@
<c:simple-property name="core-threads:expr" required="false" type="integer" readOnly="true" displayName="Core Threads" description="The core thread pool size which is smaller than the maximum pool size. If undefined, the core thread pool size is the same as the maximum thread pool size."/>
<c:map-property name="keepalive-time" displayName="Keepalive Time" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="true" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="true" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="true" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="integer" readOnly="true" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" displayName="Name" description="The name of the thread pool."/>
Expand All @@ -2961,7 +2970,16 @@
<c:simple-property name="core-threads:expr" required="false" type="integer" readOnly="true" displayName="Core Threads" description="The core thread pool size which is smaller than the maximum pool size. If undefined, the core thread pool size is the same as the maximum thread pool size."/>
<c:map-property name="keepalive-time" readOnly="true" displayName="Keepalive Time" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="true" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="true" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="true" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="integer" readOnly="true" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" displayName="Name" description="The name of the thread pool."/>
Expand Down Expand Up @@ -3277,7 +3295,16 @@
<resource-configuration>
<c:map-property name="keepalive-time" readOnly="true" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="true" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="true" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="true" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" displayName="Max Threads" required="false" type="string" readOnly="true" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" description="The name of the thread pool."/>
Expand Down Expand Up @@ -3496,7 +3523,16 @@
<resource-configuration>
<c:map-property name="keepalive-time" readOnly="false" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="string" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" description="The name of the thread pool."/>
Expand Down Expand Up @@ -5892,7 +5928,16 @@
&sharedThreadPoolResourceConfig;
<c:map-property name="keepalive-time" displayName="Keepalive Time" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="integer" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" displayName="Name" description="The name of the thread pool."/>
Expand All @@ -5915,7 +5960,16 @@
&sharedThreadPoolResourceConfig;
<c:map-property name="keepalive-time" displayName="Keepalive Time" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="integer" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" displayName="Name" description="The name of the thread pool."/>
Expand Down Expand Up @@ -6106,7 +6160,16 @@
<resource-configuration>
<c:map-property name="keepalive-time" readOnly="false" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="false" type="string" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" description="The name of the thread pool."/>
Expand Down Expand Up @@ -6323,7 +6386,16 @@
<resource-configuration>
<c:map-property name="keepalive-time" readOnly="false" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="string" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" description="The name of the thread pool."/>
Expand Down Expand Up @@ -10735,7 +10807,16 @@
&sharedThreadPoolResourceConfig;
<c:map-property name="keepalive-time" displayName="Keepalive Time" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="integer" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" displayName="Name" description="The name of the thread pool."/>
Expand All @@ -10762,7 +10843,16 @@
&sharedThreadPoolResourceConfig;
<c:map-property name="keepalive-time" displayName="Keepalive Time" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="integer" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" displayName="Name" description="The name of the thread pool."/>
Expand Down Expand Up @@ -11325,7 +11415,16 @@
<resource-configuration>
<c:map-property name="keepalive-time" readOnly="false" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="true" type="string" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" description="The name of the thread pool."/>
Expand Down Expand Up @@ -11389,7 +11488,16 @@
<resource-configuration>
<c:map-property name="keepalive-time" readOnly="false" description="Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.">
<c:simple-property name="time" type="long" readOnly="false" description="The time"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit"/>
<c:simple-property name="unit" type="string" readOnly="false" description="The time unit">
<c:property-options>
<c:option value="NANOSECONDS"/>
<c:option value="MILLISECONDS"/>
<c:option value="SECONDS"/>
<c:option value="MINUTES"/>
<c:option value="HOURS"/>
<c:option value="DAYS"/>
</c:property-options>
</c:simple-property>
</c:map-property>
<c:simple-property name="max-threads:expr" required="false" type="string" readOnly="false" displayName="Max Threads" description="The maximum thread pool size."/>
<c:simple-property name="name" required="false" type="string" readOnly="true" description="The name of the thread pool."/>
Expand Down

0 comments on commit 349b90e

Please sign in to comment.