Package org.hibernate.reactive.common
Class InternalStateAssertions
- java.lang.Object
-
- org.hibernate.reactive.common.InternalStateAssertions
-
public final class InternalStateAssertions extends Object
Commonly used assertions to verify that the operations are running on the expected events and threads.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertCurrentThreadMatches(Thread expectedThread)
static void
assertUseOnEventLoop()
-
-
-
Method Detail
-
assertUseOnEventLoop
public static void assertUseOnEventLoop()
-
assertCurrentThreadMatches
public static void assertCurrentThreadMatches(Thread expectedThread)
-
-