Class TimeoutInvocationFactory
- java.lang.Object
-
- org.junit.jupiter.engine.extension.TimeoutInvocationFactory
-
class TimeoutInvocationFactory extends java.lang.Object
- Since:
- 5.9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TimeoutInvocationFactory.ExecutorResource
(package private) static class
TimeoutInvocationFactory.SingleThreadExecutorResource
(package private) static class
TimeoutInvocationFactory.TimeoutInvocationParameters<T>
-
Field Summary
Fields Modifier and Type Field Description private org.junit.jupiter.api.extension.ExtensionContext.Store
store
-
Constructor Summary
Constructors Constructor Description TimeoutInvocationFactory(org.junit.jupiter.api.extension.ExtensionContext.Store store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) <T> org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>
create(org.junit.jupiter.api.Timeout.ThreadMode threadMode, TimeoutInvocationFactory.TimeoutInvocationParameters<T> timeoutInvocationParameters)
private java.util.concurrent.ScheduledExecutorService
getThreadExecutorForSameThreadInvocation()
-
-
-
Method Detail
-
create
<T> org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> create(org.junit.jupiter.api.Timeout.ThreadMode threadMode, TimeoutInvocationFactory.TimeoutInvocationParameters<T> timeoutInvocationParameters)
-
getThreadExecutorForSameThreadInvocation
private java.util.concurrent.ScheduledExecutorService getThreadExecutorForSameThreadInvocation()
-
-