Class GlobalLeakedThreads

java.lang.Object
org.apache.kafka.test.GlobalLeakedThreads

public class GlobalLeakedThreads extends Object
GlobalLeakedThreads is a utility class that manages a global set of leaked thread IDs. This class provides methods to access and modify the set of leaked thread IDs. Thread IDs that are added to the set won't be considered in subsequent leak checks.
  • Constructor Details

    • GlobalLeakedThreads

      public GlobalLeakedThreads()
  • Method Details

    • getLeakedThreads

      public static Set<Long> getLeakedThreads()
    • add

      public static void add(List<Long> newLeakedThreads)