Record Class ManagedProbe
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ManagedProbe
- Record Components:
kind- operational probe purposemethod- complete public zero-argument boolean Java method identity
Internal generated identity for one explicitly declared host probe, not a wire service contract.
-
Constructor Summary
ConstructorsConstructorDescriptionManagedProbe(ManagedProbeKind kind, ManagedMethod method) Validates an immutable finite probe declaration. -
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.kind()Returns the value of thekindrecord component.method()Returns the value of themethodrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManagedProbe
Validates an immutable finite probe declaration.- Parameters:
kind- nonnull probe kindmethod- zero-argument primitive boolean signature- Throws:
IllegalArgumentException- for an unsupported signatureNullPointerException- for a missing kind or method
-
-
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). -
kind
-
method
-