![]() |
![]() |
|
|
T_TLOG CLASS
Overview
The T_TLOG class represents configuration and run-time attributes of transaction logs. This class allows the user to manipulate logs within an application, that is, create, destroy, migrate, etc.
Attribute Table
Attribute1 |
Type |
Permissions |
Values |
Default |
---|---|---|---|---|
TA_LMID( * ) |
string |
r--r--r-- |
LMID |
N/A |
TA_STATE( k ) |
string |
r-xr-xr-- |
GET:"{ACT|INA|WAR}" SET:"{WAR}" |
N/A N/A |
TA_TLOGCOUNT |
long |
r-xr-xr-- |
1 <= num |
N/A |
TA_TLOGINDEX |
long |
r-xr-xr-- |
0 <= num |
N/A |
TA_GRPNO( k ) |
long |
r--r--r-- |
1 <= num < 30,000 |
Note 2 |
TA_TLOGDATA |
string |
r-xr-xr-- |
string[1...256] |
Note 2 |
|
1All attributes in Class T_TLOG are local attributes
One or more TA_GRPNO and TA_TLOGDATA attribute values may be returned with each object of the T_TLOG class. The attribute values for each of these attributes belonging to the particular object are the TA_TLOGCOUNT number of occurrences beginning with the TA_TLOGINDEX.
Attribute Semantics
ACTive |
The transaction log exists and is actively logging commit records for transactions coordinated on the site. This corresponds to the associated T_MACHINE object being active. |
INActive |
The transaction log exists but is currently inactive. This state corresponds to the associated T_MACHINE object being inactive and can only be returned if the site has a tlisten(1) process running; otherwise, the site is unreachable and a object will not be returned. |
WARmstart |
The transaction log exists, is currently active, and is marked for warmstart processing. Warmstart processing will occur when the next server group is started on the site. This state is ACTive equivalent for the purposes of determining permissions. |
unset |
Modify T_TLOG object. Allowed only when in the ACTive state. Successful return leaves the object state unchanged. The only object modifications permitted on this class are additions to the transaction log. In this case, TA_TLOGINDEX and TA_TLOGCOUNT indicate the objects of TA_TLOGDATA to be added. |
WARmstart |
Initiate warmstart for the T_TLOG object. State change allowed only when in the ACTive state. Successful return leaves the object in the WARmstart state. |
Limitations
None
![]() |
![]() |
![]() |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|