Home
last modified time | relevance | path

Searched refs:nameSupplier (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava/src/com/google/common/util/concurrent/
DCallables.java58 final Supplier<String> nameSupplier) {
59 checkNotNull(nameSupplier);
65 boolean restoreName = trySetName(nameSupplier.get(), currentThread);
86 static Runnable threadRenaming(final Runnable task, final Supplier<String> nameSupplier) {
87 checkNotNull(nameSupplier);
93 boolean restoreName = trySetName(nameSupplier.get(), currentThread);
DMoreExecutors.java840 static Executor renamingDecorator(final Executor executor, final Supplier<String> nameSupplier) { in renamingDecorator() argument
842 checkNotNull(nameSupplier); in renamingDecorator()
849 executor.execute(Callables.threadRenaming(command, nameSupplier)); in renamingDecorator()
867 final Supplier<String> nameSupplier) {
869 checkNotNull(nameSupplier);
876 return Callables.threadRenaming(callable, nameSupplier);
879 return Callables.threadRenaming(command, nameSupplier);
897 final Supplier<String> nameSupplier) {
899 checkNotNull(nameSupplier);
906 return Callables.threadRenaming(callable, nameSupplier);
[all …]