reactor-core/src/main/java/reactor/core/publisher/EventLoopProcessor.java
protected static String defaultName(@Nullable ThreadFactory threadFactory,
			Class<? extends EventLoopProcessor> clazz) {
		String name = threadFactory instanceof Supplier ? ((Supplier)
				threadFactory).get().toString() : null;
		return null != name ? name : clazz.getSimpleName();
	}
protected static String defaultName(@Nullable ThreadFactory threadFactory,
			Class<? extends EventLoopProcessor> clazz) {
		String name = threadFactory instanceof Supplier ? ((Supplier)
				threadFactory).get().toString() : null;
		return null != name ? name : clazz.getSimpleName();
	}
A method to extract a name from the ThreadFactory if it turns out to be a Supplier
(in which case the supplied value string representation is used). Otherwise return
the current class's simpleName.

@param threadFactory the factory to test for a supplied name
@param clazz
@return the name to use in thread pools