Class BlockHound

java.lang.Object
reactor.blockhound.BlockHound

public class BlockHound extends Object
BlockHound is a tool to detect blocking calls from non-blocking threads. To use it, you need to "install" it first with either install(BlockHoundIntegration...) or builder(). On installation, it will run the instrumentation and add the check to the blocking methods. Note that the installation can (and should) only be done once, subsequent install calls will be ignored. Hence, the best place to put the install call is before all tests or in the beginning of your "public static void main" method. If you have it automatically installed (e.g. via a testing framework integration), you can apply the customizations by using the SPI mechanism (see BlockHoundIntegration).