Method getName()
Return type:
java.lang.String
Member of:
java.lang.Thread
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
Object key=Thread.currentThread().getName();
2
System.err.println(Thread.currentThread().getName() + ": " + s);
3
System.err.println(Thread.currentThread().getName() + ": " + s);
4
varMap.put(Thread.currentThread().getName(), jmVars);
5
return (JMeterVariables) varMap.get(Thread.currentThread().getName());
6
Thread.currentThread(), Thread.currentThread().getName(),
7
Thread.currentThread(), Thread.currentThread().getName(),
8
Object key=Thread.currentThread().getName();
9
Log.trace(this,"Mutex permitted thread '"+Thread.currentThread().getName()+"' to change Selected.");
10
if (textArea==null || (Thread.currentThread().getName().startsWith("Run$_")&&!recordInMacros))
11
if (procs[i].getName().equalsIgnoreCase(Name)) {
12
names.addElement(current.getName());
13
if (Debug.verboseOn()) Debug.logVerbose("JobInoker: Starting Invoker Thread -- " + thread.getName(), module);
14
outln("thread '" + thread.getName() + "' didn't die within " +
15
"AWT-Selection".equals(t.getName())) // NOI18N
16
currentThreadName = Thread.currentThread().getName();
17
+ Thread.currentThread().getName() + ": ");
18
clientHandlersArray[i].getName());
19
context.push( Thread.currentThread().getName() );
20
String tid=Thread.currentThread().getName();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.