Class BlockHoundUtil


public class BlockHoundUtil extends Object
  • 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.