skipcheck

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).

PropertyType
IDInt64 requiredThe ID of the thread.
TypeThreadType requiredThe type of thread, that is, user, worker, chore, system.
NameString requiredThe name of the thread.
ContextString requiredThe context of the thread.
StateString requiredThe state of the thread.
FunctionString requiredThe function of the thread.
ObjectTypeString requiredThe object type of the thread.
ObjectNameString requiredThe name of the object that the thread acts on.
RLocksInt32A 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.
IXLocksInt32A lock that reserves the right for a thread to obtain a W-lock on an object when all R-locks have been released.
WLocksInt32An exclusive lock that allows only one thread at a time to access and write changes to an object.
ElapsedTimeDurationThe elapsed time of a thread in seconds.
WaitTimeDurationThe wait time (delay) before a thread should start the process.
InfoString requiredThe info of the thread.
SessionSessionThe Session that this thread is currently servicing.