Record Class Job

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Job
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
id - The ID of the job.
description - The brief, human readable description of the job.
state - The current state of the job.
elapsedTime - The elapsed time since the creation of the job.
waitTime - The wait time is the time elapsed since the job entered the waiting state.
waitingOn - The list of jobs that block the current job. (when expanded) (since 12.3.0)
session - The Session that this job is currently servicing. (when expanded)
replica - The Replica that this job is currently running on. (when expanded)

@Generated("io.skipcheck.tm1.codegen") @Since("12.2.0") public record Job(@Nullable String etag, @Nullable String id, @Nullable String description, @Nullable JobState state, @Nullable Duration elapsedTime, @Nullable Duration waitTime, @Since("12.3.0") @Nullable List<Job> waitingOn, @Nullable Session session, @Nullable DatabaseReplica replica) extends Record
Represents an active task on a specific database replica.

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

      public static final ODataProperty ID
      ID, for queries: The ID of the job.
    • DESCRIPTION

      public static final ODataProperty DESCRIPTION
      Description, for queries: The brief, human readable description of the job.
    • STATE

      public static final ODataProperty STATE
      State, for queries: The current state of the job.
    • ELAPSED_TIME

      public static final ODataProperty ELAPSED_TIME
      ElapsedTime, for queries: The elapsed time since the creation of the job.
    • WAIT_TIME

      public static final ODataProperty WAIT_TIME
      WaitTime, for queries: The wait time is the time elapsed since the job entered the waiting state.
    • WAITING_ON

      @Since("12.3.0") public static final ODataProperty WAITING_ON
      WaitingOn, for queries: The list of jobs that block the current job. (a navigation property, for $expand)
    • SESSION

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

      public static final ODataProperty REPLICA
      Replica, for queries: The Replica that this job is currently running on. (a navigation property, for $expand)
  • Constructor Details

    • Job

      public Job(@Nullable String etag, @Nullable String id, @Nullable String description, @Nullable JobState state, @Nullable Duration elapsedTime, @Nullable Duration waitTime, @Nullable List<Job> waitingOn, @Nullable Session session, @Nullable DatabaseReplica replica)
      Creates an instance of a Job record class.
      Parameters:
      etag - the value for the etag record component
      id - the value for the id record component
      description - the value for the description record component
      state - the value for the state record component
      elapsedTime - the value for the elapsedTime record component
      waitTime - the value for the waitTime record component
      waitingOn - the value for the waitingOn record component
      session - the value for the session record component
      replica - the value for the replica 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

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

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

      public @Nullable JobState state()
      Returns the value of the state record component.
      Returns:
      the value of the state 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
    • waitingOn

      @Since("12.3.0") public @Nullable List<Job> waitingOn()
      Returns the value of the waitingOn record component.
      Returns:
      the value of the waitingOn record component
    • session

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

      public @Nullable DatabaseReplica replica()
      Returns the value of the replica record component.
      Returns:
      the value of the replica record component