Interface ThreadNameDeterminer

    • Method Detail

      • determineThreadName

        java.lang.String determineThreadName​(java.lang.String currentThreadName,
                                             java.lang.String proposedThreadName)
                                      throws java.lang.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:
        java.lang.Exception