|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.SystemPool
The SystemPool class represents a system pool on an AS/400. It provides facilities for retrieving and changing system pool information. Here is a example:
try { // Creates AS400 object. AS400 as400 = new AS400("systemName"); // Constructs a SystemPool object SystemPool systemPool = new SystemPool(as400,"*SPOOL"); // Gets system pool attributes. System.out.println("Paging option : "+systemPool.getPagingOption()); } catch (Exception e) { System.out.println("error : "+e) }
Field Summary | |
static float |
CALCULATE
Constant used to indicate that the AS/400 should calculate a system pool attribute. |
static int |
CALCULATE_INT
|
Constructor Summary | |
SystemPool()
Constructs a SystemPool object. |
|
SystemPool(AS400 system,
java.lang.String poolName)
Constructs a SystemPool object. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a listener to be notified when the value of any bound property changes. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a listener to be notified when the value of any constrained property changes. |
void |
commitCache()
Commits any cached system pool information changes to the AS/400. |
float |
getActiveToIneligible()
Returns the rate, in transitions per minute, of transitions of threads from an active condition to an ineligible condition. |
float |
getActiveToWait()
Returns the rate, in transitions per minute, of transitions of threads from an active condition to a waiting condition. |
float |
getDatabaseFaults()
Returns the rate, shown in page faults per second, of database page faults against pages containing either database data or access paths. |
float |
getDatabasePages()
Returns the rate, in pages per second, at which database pages are brought into the storage pool. |
java.lang.String |
getDescription()
Returns the description of the system pool. |
int |
getMaximumActiveThreads()
Returns the maximum number of threads that can be active in the pool at any one time. |
float |
getNonDatabaseFaults()
Returns the rate, in page faults per second, of nondatabase page faults against pages other than those designated as database pages. |
float |
getNonDatabasePages()
Returns the rate, in page per second, at which non-database pages are brought into the storage pool. |
java.lang.String |
getPagingOption()
Returns the value indicating whether the system will dynamically adjust the paging characteristics of the storage pool for optimum performance. |
int |
getPoolIdentifier()
Returns the pool identifier. |
java.lang.String |
getPoolName()
Returns the name of this storage pool. |
int |
getPoolSize()
Returns the amount of main storage, in kilobytes, in the pool. |
int |
getReservedSize()
Returns the amount of storage, in kilobytes, in the pool reserved for system use (for example, for save and restore operations). |
java.lang.String |
getSubsystemName()
Returns the subsystem with which this storage pool is associated. |
AS400 |
getSystem()
Returns the AS/400 system. |
float |
getWaitToIneligible()
Returns the rate, in transitions per minute, of transitions of threads from a waiting condition to an ineligible condition. |
boolean |
isCaching()
Returns the current cache status. |
void |
loadInformation()
Loads the system pool information. |
void |
refreshCache()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a vetoable change listener. |
void |
setCaching(boolean cache)
Turns caching on or off. |
void |
setFaults(float minValue,
float perValue,
float maxValue)
Sets the minimum faults-per-second guideline,the faults per second for each active thread, and the maximum faults-per-second guideline for this storage pool. |
void |
setMaximumFaults(float value)
Sets the maximum faults-per-second guideline to use for this storage pool. |
void |
setMaximumPoolSize(float value)
Sets the maximum amount of storage to allocate to this storage pool (as a percentage of total main storage). |
void |
setMessageLogging(boolean log)
Sets the value indicating whether messages reporting that a change was made are written to the current job's job log and to the QHST message log. |
void |
setMinAndMaxPoolSize(float minValue,
float maxValue)
Sets the minimum and maximum amount of storage to allocate to this storage pool (as a percentage of total main storage). |
void |
setMinimumFaults(float value)
Sets the minimum faults-per-second guideline to use for this storage pool. |
void |
setMinimumPoolSize(float value)
Sets the minimum amount of storage to allocate to this storage pool (as a percentage of total main storage). |
void |
setPagingOption(java.lang.String value)
Sets the value indicating whether the system dynamically adjust the paging characteristics of the storage pool for optimum performance. |
void |
setPerThreadFaults(float value)
Sets the faults per second for each active thread in this storage pool. |
void |
setPoolActivityLevel(int value)
Sets the activity level for the pool. |
void |
setPoolName(java.lang.String poolName)
Sets the system pool name. |
void |
setPoolSize(int value)
Sets the size of the system pool in kilobytes, where one kilobyte is 1024 bytes. |
void |
setPriority(int value)
Sets the priority of this pool relative the priority of the other storage pools. |
void |
setSystem(AS400 system)
Sets the AS/400 system. |
java.lang.String |
toString()
Return the pool name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final float CALCULATE
public static final int CALCULATE_INT
Constructor Detail |
public SystemPool()
public SystemPool(AS400 system, java.lang.String poolName)
system
- The AS/400 system.poolName
- The name of the system pool.Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.public void commitCache() throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.isCaching()
,
refreshCache()
,
setCaching(boolean)
public float getActiveToIneligible() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public float getActiveToWait() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public float getDatabaseFaults() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public float getDatabasePages() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public java.lang.String getDescription()
public int getMaximumActiveThreads() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public float getNonDatabaseFaults() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public float getNonDatabasePages() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public java.lang.String getPagingOption() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public int getPoolIdentifier() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public java.lang.String getPoolName()
public int getPoolSize() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public int getReservedSize() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public java.lang.String getSubsystemName() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public AS400 getSystem()
public float getWaitToIneligible() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public boolean isCaching()
commitCache()
,
refreshCache()
,
setCaching(boolean)
public void loadInformation() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.io.UnsupportedEncodingException
AS400SecurityException
- If a security or authority error
occurs.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void refreshCache()
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.public void setCaching(boolean cache)
cache
- true if caching should be used when getting
and setting information to and from the AS/400; false
if every get or set should communicate with the AS/400
immediately. Any cached changes that are not committed
when caching is turned off will be lost.
The default behavior is no caching.commitCache()
,
isCaching()
,
refreshCache()
public void setFaults(float minValue, float perValue, float maxValue) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
minValue
- The new minimum faults-per-second guideline.perValue
- The new faults per second for each active thread.maxValue
- The new maximum faults-per-second guideline.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setMaximumFaults(float value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new maximum faults-per-second guideline.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setMaximumPoolSize(float value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new maximum pool size.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setMessageLogging(boolean log) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The value indicating whether messages reporting that a
change was made are written to the current job's job log
and to the QHST message log.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setMinimumFaults(float value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new minumum faults-per-second guideline.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setMinAndMaxPoolSize(float minValue, float maxValue) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
minValue
- The new minimum pool size.maxValue
- The new maximum pool size.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setMinimumPoolSize(float value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new minimum pool size.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setPagingOption(java.lang.String value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The value indicating whether the system dynamically adjust
the paging characteristics of the sorage pool for optimum
performance.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setPerThreadFaults(float value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new faults.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setPoolActivityLevel(int value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new activity level for the pool.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setPoolName(java.lang.String poolName) throws java.beans.PropertyVetoException
poolName
- The name of the system pool.java.beans.PropertyVetoException
- If the change is vetoed.public void setPoolSize(int value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new size of the system pool.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setPriority(int value) throws AS400Exception, AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
value
- The new priority.AS400Exception
- If the AS/400 system returns an error
message.AS400SecurityException
- If a security or authority error
occurs.ConnectionDroppedException
- If the connection is dropped
unexpectedly.ErrorCompletingRequestException
- If an error occurs before
the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with
the AS/400.ObjectDoesNotExistException
- If the AS/400 object does not
exist.java.beans.PropertyVetoException
- If the change is vetoed.java.io.UnsupportedEncodingException
- If the character encoding is
not supported.public void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The AS/400 system.java.beans.PropertyVetoException
- If the change is vetoed.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |