Skip to content

Latest commit

 

History

History
74 lines (35 loc) · 1.43 KB

ThreadGroup.rst

File metadata and controls

74 lines (35 loc) · 1.43 KB

ThreadGroup

.. php:class:: php\\lang\\ThreadGroup

 Class ThreadGroup



Methods


.. php:method:: __construct($name, $parent = null)

 :param $name:
 :param $parent: :doc:`php\\lang\\ThreadGroup </api_en/php/lang/ThreadGroup>`

.. php:method:: getName()

 :returns: :doc:`string </api_en/.types/string>`

.. php:method:: getParent()

 :returns: :doc:`php\\lang\\ThreadGroup </api_en/php/lang/ThreadGroup>`, :doc:`null </api_en/.types/null>`

.. php:method:: getActiveCount()

 :returns: :doc:`int </api_en/.types/int>`

.. php:method:: getActiveGroupCount()

 :returns: :doc:`int </api_en/.types/int>`

.. php:method:: isDaemon()

 :returns: :doc:`bool </api_en/.types/bool>`

.. php:method:: setDaemon($value)

 :param $value: :doc:`bool </api_en/.types/bool>`

.. php:method:: isDestroyed()

 :returns: :doc:`bool </api_en/.types/bool>`

.. php:method:: getMaxPriority()

 :returns: :doc:`int </api_en/.types/int>`

.. php:method:: setMaxPriority($value)

 :param $value: :doc:`int </api_en/.types/int>`

.. php:method:: destroy()


.. php:method:: checkAccess()

 Determines if the currently running thread has permission to
 modify this thread group.

 **throws** :doc:`php\\lang\\JavaException </api_en/php/lang/JavaException>`


.. php:method:: interrupt()