Record Class EventLogSettings
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.EventLogSettings
- Record Components:
enable- theEnablepropertyscanFrequency- theScanFrequencypropertythresholdForThreadRunningTime- theThresholdForThreadRunningTimepropertythresholdForThreadWaitingTime- theThresholdForThreadWaitingTimepropertythresholdForThreadBlockingNumber- theThresholdForThreadBlockingNumberpropertythresholdForPooledMemoryInMB- theThresholdForPooledMemoryInMBproperty
@Generated("io.skipcheck.tm1.codegen")
@Since("11.1.0")
public record EventLogSettings(@Nullable Boolean enable, @Nullable Duration scanFrequency, @Nullable Duration thresholdForThreadRunningTime, @Nullable Duration thresholdForThreadWaitingTime, @Nullable Integer thresholdForThreadBlockingNumber, @Nullable Integer thresholdForPooledMemoryInMB)
extends Record
The
EventLogSettings 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 ODataPropertyScanFrequency, for queries: theScanFrequencypropertystatic final ODataPropertyThresholdForPooledMemoryInMB, for queries: theThresholdForPooledMemoryInMBpropertystatic final ODataPropertyThresholdForThreadBlockingNumber, for queries: theThresholdForThreadBlockingNumberpropertystatic final ODataPropertyThresholdForThreadRunningTime, for queries: theThresholdForThreadRunningTimepropertystatic final ODataPropertyThresholdForThreadWaitingTime, for queries: theThresholdForThreadWaitingTimeproperty -
Constructor Summary
ConstructorsConstructorDescriptionEventLogSettings(@Nullable Boolean enable, @Nullable Duration scanFrequency, @Nullable Duration thresholdForThreadRunningTime, @Nullable Duration thresholdForThreadWaitingTime, @Nullable Integer thresholdForThreadBlockingNumber, @Nullable Integer thresholdForPooledMemoryInMB) Creates an instance of aEventLogSettingsrecord 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 thescanFrequencyrecord component.@Nullable IntegerReturns the value of thethresholdForPooledMemoryInMBrecord component.@Nullable IntegerReturns the value of thethresholdForThreadBlockingNumberrecord component.@Nullable DurationReturns the value of thethresholdForThreadRunningTimerecord component.@Nullable DurationReturns the value of thethresholdForThreadWaitingTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ENABLE
Enable, for queries: theEnableproperty -
SCAN_FREQUENCY
ScanFrequency, for queries: theScanFrequencyproperty -
THRESHOLD_FOR_THREAD_RUNNING_TIME
ThresholdForThreadRunningTime, for queries: theThresholdForThreadRunningTimeproperty -
THRESHOLD_FOR_THREAD_WAITING_TIME
ThresholdForThreadWaitingTime, for queries: theThresholdForThreadWaitingTimeproperty -
THRESHOLD_FOR_THREAD_BLOCKING_NUMBER
ThresholdForThreadBlockingNumber, for queries: theThresholdForThreadBlockingNumberproperty -
THRESHOLD_FOR_POOLED_MEMORY_IN_MB
ThresholdForPooledMemoryInMB, for queries: theThresholdForPooledMemoryInMBproperty
-
-
Constructor Details
-
EventLogSettings
public EventLogSettings(@Nullable Boolean enable, @Nullable Duration scanFrequency, @Nullable Duration thresholdForThreadRunningTime, @Nullable Duration thresholdForThreadWaitingTime, @Nullable Integer thresholdForThreadBlockingNumber, @Nullable Integer thresholdForPooledMemoryInMB) Creates an instance of aEventLogSettingsrecord class.- Parameters:
enable- the value for theenablerecord componentscanFrequency- the value for thescanFrequencyrecord componentthresholdForThreadRunningTime- the value for thethresholdForThreadRunningTimerecord componentthresholdForThreadWaitingTime- the value for thethresholdForThreadWaitingTimerecord componentthresholdForThreadBlockingNumber- the value for thethresholdForThreadBlockingNumberrecord componentthresholdForPooledMemoryInMB- the value for thethresholdForPooledMemoryInMBrecord 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
-
scanFrequency
Returns the value of thescanFrequencyrecord component.- Returns:
- the value of the
scanFrequencyrecord component
-
thresholdForThreadRunningTime
Returns the value of thethresholdForThreadRunningTimerecord component.- Returns:
- the value of the
thresholdForThreadRunningTimerecord component
-
thresholdForThreadWaitingTime
Returns the value of thethresholdForThreadWaitingTimerecord component.- Returns:
- the value of the
thresholdForThreadWaitingTimerecord component
-
thresholdForThreadBlockingNumber
Returns the value of thethresholdForThreadBlockingNumberrecord component.- Returns:
- the value of the
thresholdForThreadBlockingNumberrecord component
-
thresholdForPooledMemoryInMB
Returns the value of thethresholdForPooledMemoryInMBrecord component.- Returns:
- the value of the
thresholdForPooledMemoryInMBrecord component
-