Class BlockHoundUtil


  • public class BlockHoundUtil
    extends Object
    • Constructor Detail

      • BlockHoundUtil

        public BlockHoundUtil()
    • Method Detail

      • 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.