Glossary:
com.pcbsys.nirvana.nAdminAPI.nThreadPool Class Reference
This class is used to represent an instance of a thread pool beign used within a Nirvana realm. More...
Public Member Functions | |
| int | getIdle () |
| Get the number of idle threads within the thread pool. | |
| String | getName () |
| Get the name of this thread pool. | |
| int | getQueue () |
| Get the number of current tasks queued within the thread pool. | |
| int | getSize () |
| Get the size of the pool, i.e. | |
| long | getTotal () |
| Get the total number of tasks executed by the thread pool during it's lifetime. | |
Detailed Description
This class is used to represent an instance of a thread pool beign used within a Nirvana realm.Each threadpool is known by a name, and has a number of values that can be accessed
- See also:
- nThreadEntry
- Since:
- 4.0
Member Function Documentation
| int com.pcbsys.nirvana.nAdminAPI.nThreadPool.getIdle | ( | ) |
Get the number of idle threads within the thread pool.
- Returns:
- the number of idle threads
| String com.pcbsys.nirvana.nAdminAPI.nThreadPool.getName | ( | ) |
Get the name of this thread pool.
- Returns:
- the trhead pool name
| int com.pcbsys.nirvana.nAdminAPI.nThreadPool.getQueue | ( | ) |
Get the number of current tasks queued within the thread pool.
- Returns:
- the current number of queued tasks
| int com.pcbsys.nirvana.nAdminAPI.nThreadPool.getSize | ( | ) |
Get the size of the pool, i.e.
the number of threads allocated to the pool
- Returns:
- the number of threads used within the pool
| long com.pcbsys.nirvana.nAdminAPI.nThreadPool.getTotal | ( | ) |
Get the total number of tasks executed by the thread pool during it's lifetime.
- Returns:
- the total number of tasks executed
