beautypg.com

Getintitemdef, Getshortitemdef, Getstringitemdef – HP NonStop G-Series User Manual

Page 117: Setrequestpriority

background image

getIntItemDef

Gets the integer item.

int getIntItemDef( String name, int itemNo, int def );

Usage This method gets the integer value of the itemNo of the name parameter. If the item does not exist, the get method
returns the default value.

Returns This method returns an integer value (32-bit).

Throws

java.lang.NoSuchFieldError.

(field name) Attempt to get a field that is not defined for this service.

getShortItemDef

Gets the short item.

short getShortItemDef( String name, int itemNo, short def );

Usage This method gets the short value of the itemNo of the name parameter. If the item does not exist, the get method
returns the default value.

Returns This method returns a short integer value (16-bit).

Throws

java.lang.NoSuchFieldError.

(field name) Attempt to get a field that is not defined for this service.

getStringItemDef

Gets the string value of a specified item.

String getStringItemDef( String name, int itemNo, String def );

Usage This method gets the string value of the itemNo of the name parameter. If the item does not exist, the get method
returns the default value.

Returns This method returns a string value.

Throws

java.lang.NoSuchFieldError.

(field name) Attempt to get a field that is not defined for this service.

setRequestPriority

Sets the request priority service attribute.

void setRequestPriority( int priority );

Usage Sets the absolute request priority for the current service. It is set until clear() is called. priority is a priority value
between 1 and 100 inclusive.