SystemPool
The SystemPool class allows you to retrieve and change system pool information including the following:
- The getPoolSize() method returns the size of the pool, and the setPoolSize() method sets the size of the pool.
- The getPoolName() method retrieves the name of the pool, and the setPoolName() method sets the pool's name.
- The getReservedSize() method returns the amount of storage in the pool that is reserved for system use.
- The getDescription() method returns the description of the system pool.
- The
getMaximumActiveThreads() method returns the maximum number of threads that can be active in the pool at any one time.
- The
setMaximumFaults() method sets the maximum faults-per-second guideline to use for this system pool.
- The setPriority() method sets the priority of this system pool relative to the priority of the other system pools.
Example
//Create AS400 object.
AS400 as400 = new AS400("system name");
//Construct a system pool object.
SystemPool systemPool = new SystemPool(as400,"*SPOOL");
//Get system pool paging option
System.out.println("Paging option : "+systemPool.getPagingOption());
[ Legal | AS/400 Glossary ]