Interface ThreadNameDeterminer


public interface ThreadNameDeterminer
Overrides the thread name proposed by ThreadRenamingRunnable.
  • Field Details

  • Method Details

    • determineThreadName

      String determineThreadName(String currentThreadName, String proposedThreadName) throws Exception
      Overrides the thread name proposed by ThreadRenamingRunnable.
      Parameters:
      currentThreadName - the current thread name
      proposedThreadName - the proposed new thread name
      Returns:
      the actual new thread name. If null is returned, the proposed thread name is discarded (i.e. no rename).
      Throws:
      Exception