Record Class StreamIntrospection
java.lang.Object
java.lang.Record
org.nuxeo.ecm.core.bulk.introspection.StreamIntrospection
- All Implemented Interfaces:
Serializable
public record StreamIntrospection(List<StreamIntrospection.Stream> streams, List<StreamIntrospection.Processor> processors, List<StreamIntrospection.Metrics> metrics)
extends Record
implements Serializable
This POJO represents what is serialized to the
StreamIntrospectionComputation.INTROSPECTION_KV_STORE.- Since:
- 2025.12
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic interfacestatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic interfacestatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionStreamIntrospection(List<StreamIntrospection.Stream> streams, List<StreamIntrospection.Processor> processors, List<StreamIntrospection.Metrics> metrics) Creates an instance of aStreamIntrospectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metrics()Returns the value of themetricsrecord component.Returns the value of theprocessorsrecord component.streams()Returns the value of thestreamsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StreamIntrospection
public StreamIntrospection(List<StreamIntrospection.Stream> streams, List<StreamIntrospection.Processor> processors, List<StreamIntrospection.Metrics> metrics) Creates an instance of aStreamIntrospectionrecord class.- Parameters:
streams- the value for thestreamsrecord componentprocessors- the value for theprocessorsrecord componentmetrics- the value for themetricsrecord component
-
-
Method Details
-
consumers
-
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. -
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. -
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). -
streams
Returns the value of thestreamsrecord component.- Returns:
- the value of the
streamsrecord component
-
processors
Returns the value of theprocessorsrecord component.- Returns:
- the value of the
processorsrecord component
-
metrics
Returns the value of themetricsrecord component.- Returns:
- the value of the
metricsrecord component
-