Record Class JobQueuingSettings
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.JobQueuingSettings
- Record Components:
enable- theEnablepropertythreadSleepTime- theThreadSleepTimepropertythreadPoolSize- theThreadPoolSizepropertymaxWaitTime- theMaxWaitTimeproperty
@Generated("io.skipcheck.tm1.codegen")
@Since("11.0.0")
public record JobQueuingSettings(@Nullable Boolean enable, @Nullable Duration threadSleepTime, @Nullable Integer threadPoolSize, @Nullable Duration maxWaitTime)
extends Record
The
JobQueuingSettings complex type of the TM1 REST API.
Generated from $metadata. Every component is nullable: $select can leave any property out. Null components aren't sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyEnable, for queries: theEnablepropertystatic final ODataPropertyMaxWaitTime, for queries: theMaxWaitTimepropertystatic final ODataPropertyThreadPoolSize, for queries: theThreadPoolSizepropertystatic final ODataPropertyThreadSleepTime, for queries: theThreadSleepTimeproperty -
Constructor Summary
ConstructorsConstructorDescriptionJobQueuingSettings(@Nullable Boolean enable, @Nullable Duration threadSleepTime, @Nullable Integer threadPoolSize, @Nullable Duration maxWaitTime) Creates an instance of aJobQueuingSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Booleanenable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable DurationReturns the value of themaxWaitTimerecord component.@Nullable IntegerReturns the value of thethreadPoolSizerecord component.@Nullable DurationReturns the value of thethreadSleepTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ENABLE
Enable, for queries: theEnableproperty -
THREAD_SLEEP_TIME
ThreadSleepTime, for queries: theThreadSleepTimeproperty -
THREAD_POOL_SIZE
ThreadPoolSize, for queries: theThreadPoolSizeproperty -
MAX_WAIT_TIME
MaxWaitTime, for queries: theMaxWaitTimeproperty
-
-
Constructor Details
-
JobQueuingSettings
public JobQueuingSettings(@Nullable Boolean enable, @Nullable Duration threadSleepTime, @Nullable Integer threadPoolSize, @Nullable Duration maxWaitTime) Creates an instance of aJobQueuingSettingsrecord class.- Parameters:
enable- the value for theenablerecord componentthreadSleepTime- the value for thethreadSleepTimerecord componentthreadPoolSize- the value for thethreadPoolSizerecord componentmaxWaitTime- the value for themaxWaitTimerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
enable
-
threadSleepTime
Returns the value of thethreadSleepTimerecord component.- Returns:
- the value of the
threadSleepTimerecord component
-
threadPoolSize
Returns the value of thethreadPoolSizerecord component.- Returns:
- the value of the
threadPoolSizerecord component
-
maxWaitTime
Returns the value of themaxWaitTimerecord component.- Returns:
- the value of the
maxWaitTimerecord component
-