Record Class BlockHint
java.lang.Object
java.lang.Record
io.micronaut.http.client.netty.BlockHint
- Record Components:
blockedThread- Thread that is blockednext- Next node in the linked list of blocked threads
Information about what threads are blocked waiting for a request to complete. This is used to
detect deadlocks when the user does a
Note: This class is public for use in micronaut-oracle-cloud.
BlockingHttpClient on the
event loop.Note: This class is public for use in micronaut-oracle-cloud.
- Since:
- 4.0.0
- Author:
- Jonas Konrad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockedThreadrecord component.static @Nullable BlockHintfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable BlockHintnext()Returns the value of thenextrecord component.final StringtoString()Returns a string representation of this record class.static BlockHint
-
Constructor Details
-
BlockHint
Creates an instance of aBlockHintrecord class.- Parameters:
blockedThread- the value for theblockedThreadrecord componentnext- the value for thenextrecord component
-
-
Method Details
-
willBlockThisThread
-
combine
-
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). -
blockedThread
Returns the value of theblockedThreadrecord component.- Returns:
- the value of the
blockedThreadrecord component
-
next
-