Record Class Thread

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Thread
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
id - The ID of the thread. (since 10.2.2.5)
type - The type of thread, that is, user, worker, chore, system.
name - The name of the thread.
context - The context of the thread.
state - The state of the thread.
function - The function of the thread.
objectType - The object type of the thread.
objectName - The name of the object that the thread acts on.
rLocks - 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 - 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 - An exclusive lock that allows only one thread at a time to access and write changes to an object.
elapsedTime - The elapsed time of a thread in seconds.
waitTime - The wait time (delay) before a thread should start the process.
info - The info of the thread.
session - The Session that this thread is currently servicing. (when expanded)

@Generated("io.skipcheck.tm1.codegen") @Since("10.2.2.1") public record Thread(@Nullable String etag, @Since("10.2.2.5") @Nullable Long id, @Nullable ThreadType type, @Nullable String name, @Nullable String context, @Nullable String state, @Nullable String function, @Nullable String objectType, @Nullable String objectName, @Nullable Integer rLocks, @Nullable Integer ixLocks, @Nullable Integer wLocks, @Nullable Duration elapsedTime, @Nullable Duration waitTime, @Nullable String info, @Nullable Session session) extends Record
A thread that can run queries concurrently on the TM1 server.

Generated from $metadata. Every component is nullable: $select can leave any property out, and navigation properties are only there when expanded. Null components aren't sent.

  • Field Details

    • ID

      @Since("10.2.2.5") public static final ODataProperty ID
      ID, for queries: The ID of the thread.
    • TYPE

      public static final ODataProperty TYPE
      Type, for queries: The type of thread, that is, user, worker, chore, system.
    • NAME

      public static final ODataProperty NAME
      Name, for queries: The name of the thread.
    • CONTEXT

      public static final ODataProperty CONTEXT
      Context, for queries: The context of the thread.
    • STATE

      public static final ODataProperty STATE
      State, for queries: The state of the thread.
    • FUNCTION

      public static final ODataProperty FUNCTION
      Function, for queries: The function of the thread.
    • OBJECT_TYPE

      public static final ODataProperty OBJECT_TYPE
      ObjectType, for queries: The object type of the thread.
    • OBJECT_NAME

      public static final ODataProperty OBJECT_NAME
      ObjectName, for queries: The name of the object that the thread acts on.
    • R_LOCKS

      public static final ODataProperty R_LOCKS
      RLocks, for queries: 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.
    • IX_LOCKS

      public static final ODataProperty IX_LOCKS
      IXLocks, for queries: A lock that reserves the right for a thread to obtain a W-lock on an object when all R-locks have been released.
    • W_LOCKS

      public static final ODataProperty W_LOCKS
      WLocks, for queries: An exclusive lock that allows only one thread at a time to access and write changes to an object.
    • ELAPSED_TIME

      public static final ODataProperty ELAPSED_TIME
      ElapsedTime, for queries: The elapsed time of a thread in seconds.
    • WAIT_TIME

      public static final ODataProperty WAIT_TIME
      WaitTime, for queries: The wait time (delay) before a thread should start the process.
    • INFO

      public static final ODataProperty INFO
      Info, for queries: The info of the thread.
    • SESSION

      public static final ODataProperty SESSION
      Session, for queries: The Session that this thread is currently servicing. (a navigation property, for $expand)
  • Constructor Details

    • Thread

      public Thread(@Nullable String etag, @Nullable Long id, @Nullable ThreadType type, @Nullable String name, @Nullable String context, @Nullable String state, @Nullable String function, @Nullable String objectType, @Nullable String objectName, @Nullable Integer rLocks, @Nullable Integer ixLocks, @Nullable Integer wLocks, @Nullable Duration elapsedTime, @Nullable Duration waitTime, @Nullable String info, @Nullable Session session)
      Creates an instance of a Thread record class.
      Parameters:
      etag - the value for the etag record component
      id - the value for the id record component
      type - the value for the type record component
      name - the value for the name record component
      context - the value for the context record component
      state - the value for the state record component
      function - the value for the function record component
      objectType - the value for the objectType record component
      objectName - the value for the objectName record component
      rLocks - the value for the rLocks record component
      ixLocks - the value for the ixLocks record component
      wLocks - the value for the wLocks record component
      elapsedTime - the value for the elapsedTime record component
      waitTime - the value for the waitTime record component
      info - the value for the info record component
      session - the value for the session record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • etag

      public @Nullable String etag()
      Returns the value of the etag record component.
      Returns:
      the value of the etag record component
    • id

      @Since("10.2.2.5") public @Nullable Long id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • type

      public @Nullable ThreadType type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • name

      public @Nullable String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • context

      public @Nullable String context()
      Returns the value of the context record component.
      Returns:
      the value of the context record component
    • state

      public @Nullable String state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • function

      public @Nullable String function()
      Returns the value of the function record component.
      Returns:
      the value of the function record component
    • objectType

      public @Nullable String objectType()
      Returns the value of the objectType record component.
      Returns:
      the value of the objectType record component
    • objectName

      public @Nullable String objectName()
      Returns the value of the objectName record component.
      Returns:
      the value of the objectName record component
    • rLocks

      public @Nullable Integer rLocks()
      Returns the value of the rLocks record component.
      Returns:
      the value of the rLocks record component
    • ixLocks

      public @Nullable Integer ixLocks()
      Returns the value of the ixLocks record component.
      Returns:
      the value of the ixLocks record component
    • wLocks

      public @Nullable Integer wLocks()
      Returns the value of the wLocks record component.
      Returns:
      the value of the wLocks record component
    • elapsedTime

      public @Nullable Duration elapsedTime()
      Returns the value of the elapsedTime record component.
      Returns:
      the value of the elapsedTime record component
    • waitTime

      public @Nullable Duration waitTime()
      Returns the value of the waitTime record component.
      Returns:
      the value of the waitTime record component
    • info

      public @Nullable String info()
      Returns the value of the info record component.
      Returns:
      the value of the info record component
    • session

      public @Nullable Session session()
      Returns the value of the session record component.
      Returns:
      the value of the session record component