PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/jboss-as-7.1.1.Final/testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/subsystem/threads/subsystem.xml

#
XML | 96 lines | 68 code | 7 blank | 21 comment | 0 complexity | e3300e64250bc695043ef0cbc544c722 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <!--
  2. ~ JBoss, Home of Professional Open Source.
  3. ~ Copyright 2012, Red Hat, Inc., and individual contributors
  4. ~ as indicated by the @author tags. See the copyright.txt file in the
  5. ~ distribution for a full listing of individual contributors.
  6. ~
  7. ~ This is free software; you can redistribute it and/or modify it
  8. ~ under the terms of the GNU Lesser General Public License as
  9. ~ published by the Free Software Foundation; either version 2.1 of
  10. ~ the License, or (at your option) any later version.
  11. ~
  12. ~ This software is distributed in the hope that it will be useful,
  13. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. ~ Lesser General Public License for more details.
  16. ~
  17. ~ You should have received a copy of the GNU Lesser General Public
  18. ~ License along with this software; if not, write to the Free
  19. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. -->
  22. <subsystem xmlns="urn:jboss:domain:threads:1.1">
  23. <thread-factory name="factory1" group-name="factory1-threads" thread-name-pattern="%G %i" priority="5"/>
  24. <thread-factory name="factory2"/>
  25. <unbounded-queue-thread-pool name="unbounded-1">
  26. <max-threads count="10"/>
  27. <keepalive-time time="10" unit="seconds"/>
  28. </unbounded-queue-thread-pool>
  29. <unbounded-queue-thread-pool name="unbounded-2">
  30. <max-threads count="10"/>
  31. <keepalive-time time="10" unit="seconds"/>
  32. <thread-factory name="factory1"/>
  33. </unbounded-queue-thread-pool>
  34. <bounded-queue-thread-pool name="bounded-1" allow-core-timeout="true">
  35. <core-threads count="5"/>
  36. <queue-length count="100"/>
  37. <max-threads count="10"/>
  38. <keepalive-time time="10" unit="seconds"/>
  39. <handoff-executor name="unbounded-1"/>
  40. </bounded-queue-thread-pool>
  41. <bounded-queue-thread-pool name="bounded-2">
  42. <core-threads count="5"/>
  43. <queue-length count="100"/>
  44. <max-threads count="10"/>
  45. <keepalive-time time="10" unit="seconds"/>
  46. <thread-factory name="factory1"/>
  47. </bounded-queue-thread-pool>
  48. <blocking-bounded-queue-thread-pool name="blocking-bounded-1" allow-core-timeout="true">
  49. <core-threads count="5"/>
  50. <queue-length count="100"/>
  51. <max-threads count="10"/>
  52. <keepalive-time time="10" unit="seconds"/>
  53. </blocking-bounded-queue-thread-pool>
  54. <blocking-bounded-queue-thread-pool name="blocking-bounded-2">
  55. <core-threads count="5"/>
  56. <queue-length count="100"/>
  57. <max-threads count="10"/>
  58. <keepalive-time time="10" unit="seconds"/>
  59. <thread-factory name="factory1"/>
  60. </blocking-bounded-queue-thread-pool>
  61. <queueless-thread-pool name="queueless-1">
  62. <max-threads count="10"/>
  63. <keepalive-time time="10" unit="seconds"/>
  64. <handoff-executor name="unbounded-1"/>
  65. </queueless-thread-pool>
  66. <queueless-thread-pool name="queueless-2">
  67. <max-threads count="10"/>
  68. <keepalive-time time="10" unit="seconds"/>
  69. <thread-factory name="factory1"/>
  70. </queueless-thread-pool>
  71. <blocking-queueless-thread-pool name="blocking-queueless-1">
  72. <max-threads count="10"/>
  73. <keepalive-time time="10" unit="seconds"/>
  74. </blocking-queueless-thread-pool>
  75. <blocking-queueless-thread-pool name="blocking-queueless-2">
  76. <max-threads count="10"/>
  77. <keepalive-time time="10" unit="seconds"/>
  78. <thread-factory name="factory1"/>
  79. </blocking-queueless-thread-pool>
  80. <scheduled-thread-pool name="scheduled-1">
  81. <max-threads count="10"/>
  82. <keepalive-time time="10" unit="seconds"/>
  83. </scheduled-thread-pool>
  84. <scheduled-thread-pool name="scheduled-2">
  85. <max-threads count="10"/>
  86. <keepalive-time time="10" unit="seconds"/>
  87. <thread-factory name="factory1"/>
  88. </scheduled-thread-pool>
  89. </subsystem>