Class CIM_UnitOfWork
extends CIM_ManagedElement

Each instance of UnitOfWork identifies a transaction that is either in-process or already completed. Because instances of 'in-process' UnitsOfWork can be very short-lived and there can be a great number of active ones, use of this class as an instrumentation source for determining response time may be incorrect or inefficient, unless the rate and duration of the UnitsOfWork are known. The intended use is to respond to queries about currently active or recently completed UnitsOfWork. The length of time that a UnitOfWork instance exists after the UnitOfWork completes is not defined and should be assumed to be implementation-dependent. This class is weak to its definition (CIM_UnitOfWorkDefintion).

Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_UnitOfWork

Direct Known Subclasses

None.

Class Qualifiers

NameData TypeValueScopeFlavors
DescriptionstringEach instance of UnitOfWork identifies a transaction that is either in-process or already completed. Because instances of 'in-process' UnitsOfWork can be very short-lived and there can be a great number of active ones, use of this class as an instrumentation source for determining response time may be incorrect or inefficient, unless the rate and duration of the UnitsOfWork are known. The intended use is to respond to queries about currently active or recently completed UnitsOfWork. The length of time that a UnitOfWork instance exists after the UnitOfWork completes is not defined and should be assumed to be implementation-dependent. This class is weak to its definition (CIM_UnitOfWorkDefintion).None TRANSLATABLE= true

Local Class Properties

NameData TypeQualifiers
NameData TypeValueScopeFlavors
Descriptionstring
DescriptionstringSince UnitOfWork is designed to be an extremely lightweight object, it is recommended that this property not be used. The Description specified for the instance's associated CIM_UnitOfWorkDefintion should apply.None TRANSLATABLE= true
OverridestringDescriptionNone OVERRIDABLE= false
ElapsedTimedatetime
DescriptionstringThe elapsed time since the UnitOfWork was started. Upon completion of the UnitOfWork, this property contains the total amount of time taken in processing the entire UnitOfWork.None TRANSLATABLE= true
Idsint64
DescriptionstringThe identifier of the UnitOfWork, within the context of the UnitOfWorkDefinition.None TRANSLATABLE= true
KeybooleantrueNone OVERRIDABLE= false
StartTimedatetime
DescriptionstringThe time that the UnitOfWork was started.None TRANSLATABLE= true
Statusuint16
DescriptionstringAn enumeration identifing the status of the UnitOfWork. Most of the property values are self-explanatory. A few need additional text: 3="Completed" - Should be used to represent a 'completed' transaction whose status ('good', 'failed' or 'aborted') is unknown. 6="Completed Aborted" - Should be used when a UnitOfWork has completed but was not allowed to end normally. An example would be when the Stop or Back buttons are selected from a web browser, before a page is fully loaded.None TRANSLATABLE= true
ValueMapstring1, 2, 3, 4, 5, 6None None
ValuesstringActive, Suspended, Completed, Completed Good, Completed Failed, Completed AbortedNone TRANSLATABLE= true
UoWDefIdstring
DescriptionstringA 16 byte value that uniquely identifies the UnitOfWorkDefinition. The use of OSF UUID/GUIDs is recommended.None TRANSLATABLE= true
KeybooleantrueNone OVERRIDABLE= false
MaxLenuint3216None None
PropagatedstringCIM_UnitOfWorkDefinition.IdNone OVERRIDABLE= false
UserNamestring
DescriptionstringThe name of the user who initiated the UnitOfWork. This may be a real user's login name or a logical name representing an application.None TRANSLATABLE= true

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement