TM1 client · Docs · TM1 types
Thread
A thread that can run queries concurrently on the TM1 server.
A type of TM1 itself, from its REST API metadata, the same in every language. A property is a method in Java (cube.name()), and a property in Python (cube.name), .NET and TypeScript (cube.Name).
| Property | Type | |
|---|---|---|
ID | Int64 required | The ID of the thread. |
Type | ThreadType required | The type of thread, that is, user, worker, chore, system. |
Name | String required | The name of the thread. |
Context | String required | The context of the thread. |
State | String required | The state of the thread. |
Function | String required | The function of the thread. |
ObjectType | String required | The object type of the thread. |
ObjectName | String required | The name of the object that the thread acts on. |
RLocks | Int32 | A shared lock that allows many threads to read from an object at the same time, but does not allow another thread to modify or write to this object until all R-locks have been released. |
IXLocks | Int32 | A lock that reserves the right for a thread to obtain a W-lock on an object when all R-locks have been released. |
WLocks | Int32 | An exclusive lock that allows only one thread at a time to access and write changes to an object. |
ElapsedTime | Duration | The elapsed time of a thread in seconds. |
WaitTime | Duration | The wait time (delay) before a thread should start the process. |
Info | String required | The info of the thread. |
Session | Session | The Session that this thread is currently servicing. |