public class BlockHound
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BlockHound.Builder |
Constructor and Description |
---|
BlockHound() |
Modifier and Type | Method and Description |
---|---|
static BlockHound.Builder |
builder() |
static void |
install(BlockHoundIntegration... integrations)
Loads integrations with
ServiceLoader , adds provided integrations,
and installs the BlockHound instrumentation. |
public static BlockHound.Builder builder()
public static void install(BlockHoundIntegration... integrations)
ServiceLoader
, adds provided integrations,
and installs the BlockHound instrumentation.
If you don't want to load the integrations, use builder()
method.