Record Class AiServiceMethodCreateInfo.MetricsCountedInfo
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
- Enclosing class:
AiServiceMethodCreateInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsCountedInfo
(String name, String[] extraTags, boolean recordFailuresOnly, String description) Creates an instance of aMetricsCountedInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.String[]
Returns the value of theextraTags
record component.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.boolean
Returns the value of therecordFailuresOnly
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
MetricsCountedInfo
public MetricsCountedInfo(String name, String[] extraTags, boolean recordFailuresOnly, String description) Creates an instance of aMetricsCountedInfo
record class.- Parameters:
name
- the value for thename
record componentextraTags
- the value for theextraTags
record componentrecordFailuresOnly
- the value for therecordFailuresOnly
record componentdescription
- the value for thedescription
record 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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with thecompare
method from their corresponding wrapper classes. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
extraTags
Returns the value of theextraTags
record component.- Returns:
- the value of the
extraTags
record component
-
recordFailuresOnly
public boolean recordFailuresOnly()Returns the value of therecordFailuresOnly
record component.- Returns:
- the value of the
recordFailuresOnly
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-