![]() |
![]() |
|
|
T_APPQSPACE Class Definition
Overview
The T_APPQSPACE class represents application queue spaces. An application queue space is an area in a BEA Tuxedo system device; see the T_DEVICE class in TM_MIB(5) for more information about devices and their attributes. Each queue space typically contains one or more application queues, and each queue may have messages stored in it.
A queue space is uniquely identified by several attributes: its name (TA_APPQSPACENAME attribute), the device that contains it (TA_QMCONFIG attribute), and the logical machine where the device is located (TA_LMID attribute).
A queue space is typically associated with exactly one server group in a configured application. The queue space name as well as the device name are components of the TA_OPENINFO attribute of the T_GROUP object.
Limitations
It is not possible to retrieve all instances of this class by leaving all key fields unset. Instead, all three key fields must be supplied to explicitly target a single application queue space. The single exception occurs when accessing a local queue space via tpadmcall(3) in the context of an unconfigured application (i.e., the TUXCONFIG environment variable is not set). In this case, the TA_LMID key field must be omitted.
The above limitation regarding accessibility of queue spaces also applies to T_APPQ, T_APPQMSG, and T_APPQTRANS objects because operations on all objects in the /Q MIB implicitly involve queue spaces.
Attribute Table
Attribute1 |
Type |
Permissions |
Values |
Default |
---|---|---|---|---|
TA_APPQSPACENAME( k )( r )( * ) TA_QMCONFIG( k )( r )( * ) TA_LMID( k )( r )( * ))2 |
string string string |
ru-r--r-- ru-r--r-- ru-r--r-- |
string[1..15] string[1..78] string[1..30] |
N/A N/A N/A |
TA_STATE( k )3 |
string |
rwxrwxr-- |
GET:{INA|INI |OPE|ACT} SET:{NEW|OPE |CLE|INV} |
N/A N/A |
TA_BLOCKING TA_ERRORQNAME TA_FORCEINIT TA_IPCKEY( r ) TA_MAXMSG( r ) TA_MAXPAGES( r ) TA_MAXPROC( r ) TA_MAXQUEUES( r )4 TA_MAXTRANS( r ) |
long string string long long long long long long |
rw-r--r-- rw-r--r-- rw-r--r-- rw-r--r-- rw-r--r-- rw-r--r-- rw-r--r-- rw-r--r-- rw-r--r-- |
0 = num string[0..15] {Y|N} 32769 = num = 262143 0 = num 0 = num 0 = num 0 = num 0 = num |
16 "" N N/A N/A N/A N/A N/A N/A |
TA_CUREXTENT TA_CURMSG TA_CURPROC TA_CURQUEUES TA_CURTRANS TA_HWMSG TA_HWPROC TA_HWQUEUES TA_HWTRANS TA_PERCENTINIT |
long long long long long long long long long long |
r--r--r-- r--r--r-- r--r--r-- r--r--r-- R--R--R-- R--R--R-- R--R--R-- R--R--R-- R--R--R-- r--r--r-- |
0 = num = 100 { 0 = num | -1 } 0 = num { 0 = num | -1 } 0 = num 0 = num 0 = num 0 = num 0 = num 0 = num = 100 |
N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A |
( k ) - GET key field |
1 All attributes of class T_APPQSPACE are local attributes. 2TA_LMID must be specified as a key field except when the application is unconfigured (that is, the TUXCONFIG environment variable is not set). 3All operations on T_APPQ, T_APPMSG, and T_APPQTRANS objects (both GET and SET) silently open the associated queue space (that is, implicitly set the state of the queue space to OPEn if it is not already OPEn or ACTive). This may be a time-consuming operation if the queue space is large. 4TA_MAXQUEUES cannot be modified after the queue space is created. |
INActive |
The queue space exists; i.e., disk space for it has been reserved in a device and the space has been initialized (if requested or if necessary). |
INItializing |
Disk space for the queue space is currently being initialized. This state is ACTive equivalent for purposes of permissions checking. |
OPEn |
Shared memory and other IPC resources for the queue space have been allocated and initialized, but no processes are currently attached to the shared memory. This state is INActive equivalent for purposes of permissions checking. |
ACTive |
Shared memory and other IPC resources for the queue space have been allocated and initialized, and at least one process is currently attached to the shared memory. These processes can be the queue servers (TMS_QM, TMQUEUE, and perhaps TMQFORWARD) associated with the queue space, or they can be administrative processes such as qmadmin(1), or they can be processes associated with another application. |
NEW |
Create a new queue space. The state of the queue space becomes either INItializing or INActive following a successful SET to this state. |
OPEn |
Allocate and initialize shared memory and other IPC resources for the queue space. This is allowed only if the queue space is in the INActive state. |
CLEaning |
Remove the shared memory and other IPC resources for the queue space. This is allowed only when the queue space is in the OPEn or ACTive state. The QMIB_FORCECLOSE flag must be specified if the state is ACTive. Successful return leaves the object in the INActive state. |
INValid |
Delete the queue space. Unless the QMIB_FORCEDELETE flag is passed, an error is reported if the state is ACTive or if messages exist on any queues in the queue space. Successful return leaves the object in the INValid state. |
unset |
Modify an application queue space. Successful return leaves the state unchanged. |
![]() |
![]() |
![]() |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|