Interface ThreadCleanup


public interface ThreadCleanup
If certain Threads in a ThreadPool need to be cleaned up before being reused, an implementation of this interface should be provided so that the relevant cleaning up could be performed. An instance of the implementation class of this interface should be added to ThreadCleanupContainer.addThreadCleanup(ThreadCleanup) Typical items that will be cleaned up will include ThreadLocal variables
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cleanup the Threads
  • Method Details

    • cleanup

      void cleanup()
      Cleanup the Threads