Package org.infinispan.commons.internal
Class BlockHoundUtil
java.lang.Object
org.infinispan.commons.internal.BlockHoundUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Signal to BlockHound that a method must not be called from a non-blocking thread.
-
Constructor Details
-
BlockHoundUtil
public BlockHoundUtil()
-
-
Method Details
-
pretendBlock
public static void pretendBlock()Signal to BlockHound that a method must not be called from a non-blocking thread.Helpful when the method only blocks some of the time, and it is hard to force it to block in all the scenarios that use it.
-