Searched refs:nameFormat (Results 1 – 4 of 4) sorted by relevance
46 private String nameFormat = null; field in ThreadFactoryBuilder70 public ThreadFactoryBuilder setNameFormat(String nameFormat) { in setNameFormat() argument71 String.format(nameFormat, 0); // fail fast if the format is bad or null in setNameFormat()72 this.nameFormat = nameFormat; in setNameFormat()150 final String nameFormat = builder.nameFormat; in build() local159 final AtomicLong count = (nameFormat != null) ? new AtomicLong(0) : null; in build()163 if (nameFormat != null) { in build()164 thread.setName(String.format(nameFormat, count.getAndIncrement())); in build()
553 public static ThreadFactory getThreadFactory(String nameFormat, boolean daemon) { in getThreadFactory() argument561 .setNameFormat(nameFormat) in getThreadFactory()
671 // <nameFormat>680 // </nameFormat>
250 void nameFormat(ResourceBundle& bundle,UnicodeString& xmlString);