Class MessageProtocolHandler
java.lang.Object
org.gradle.profiler.client.protocol.serialization.MessageProtocolHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmaybeReceive(Class<T> type, Duration timeout) Waits for the message for duration of timeout or returns Optional.empty() if waiting timeouts.<T extends Message>
TWaits for the message for duration of timeout and throws exception if waiting timeouts.void
-
Constructor Details
-
MessageProtocolHandler
-
-
Method Details
-
send
-
maybeReceive
Waits for the message for duration of timeout or returns Optional.empty() if waiting timeouts. -
receive
Waits for the message for duration of timeout and throws exception if waiting timeouts.
-