Top Fields Constructors Methods
org.junit.jupiter.engine.extension

pack-priv Class SeparateThreadTimeoutInvocation<T extends @Nullable Object>

extends Object
implements InvocationInterceptor.Invocation<T extends @Nullable Object>
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
Static Imports
org.junit.jupiter.api.util.PreemptiveTimeoutUtils.executeWithPreemptiveTimeout

Since
5.9

Field Summary

Modifier and TypeField and Description
private final InvocationInterceptor.Invocation<T>
private final Supplier<String>
private final PreInterruptCallbackInvocation
private final TimeoutDuration

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public T
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

delegateback to summary
private final InvocationInterceptor.Invocation<T> delegate
descriptionSupplierback to summary
private final Supplier<String> descriptionSupplier
preInterruptCallbackback to summary
private final PreInterruptCallbackInvocation preInterruptCallback
timeoutback to summary
private final TimeoutDuration timeout

Constructor Detail

SeparateThreadTimeoutInvocationback to summary
pack-priv SeparateThreadTimeoutInvocation(InvocationInterceptor.Invocation<T> delegate, TimeoutDuration timeout, Supplier<String> descriptionSupplier, PreInterruptCallbackInvocation preInterruptCallback)

Method Detail

proceedback to summary
public T proceed() throws Throwable

Implements org.junit.jupiter.api.extension.InvocationInterceptor.Invocation.proceed.

Doc from org.junit.jupiter.api.extension.InvocationInterceptor.Invocation.proceed.

Proceed with this invocation.

Annotations
@Override
@SuppressWarnings:NullAway
Exceptions
Throwable:
in case the invocation failed