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 aMetricsCountedInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.String[]Returns the value of theextraTagsrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.booleanReturns the value of therecordFailuresOnlyrecord component.final StringtoString()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 aMetricsCountedInforecord class.- Parameters:
name- the value for thenamerecord componentextraTags- the value for theextraTagsrecord componentrecordFailuresOnly- the value for therecordFailuresOnlyrecord componentdescription- the value for thedescriptionrecord 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 thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
extraTags
Returns the value of theextraTagsrecord component.- Returns:
- the value of the
extraTagsrecord component
-
recordFailuresOnly
public boolean recordFailuresOnly()Returns the value of therecordFailuresOnlyrecord component.- Returns:
- the value of the
recordFailuresOnlyrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-