public class ThreadModel extends Object
| Constructor and Description |
|---|
ThreadModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName()
Gets the app name.
|
String |
getClassLoader()
Gets the class loader.
|
String |
getGroupName()
Gets the group name.
|
String |
getName()
Gets the name.
|
int |
getPriority()
Gets the priority.
|
String |
getRunnableClassName()
Gets the runnable class name.
|
String |
getThreadClass()
Gets the thread class.
|
boolean |
isDaemon()
Checks if is daemon.
|
boolean |
isInterrupted()
Checks if is interrupted.
|
void |
setAppName(String appName)
Sets the app name.
|
void |
setClassLoader(String classLoader)
Sets the class loader.
|
void |
setDaemon(boolean daemon)
Sets the daemon.
|
void |
setGroupName(String groupName)
Sets the group name.
|
void |
setInterrupted(boolean interrupted)
Sets the interrupted.
|
void |
setName(String name)
Sets the name.
|
void |
setPriority(int priority)
Sets the priority.
|
void |
setRunnableClassName(String runnableClassName)
Sets the runnable class name.
|
void |
setThreadClass(String threadClass)
Sets the thread class.
|
public String getName()
public void setName(String name)
name - the new namepublic int getPriority()
public void setPriority(int priority)
priority - the new prioritypublic boolean isDaemon()
public void setDaemon(boolean daemon)
daemon - the new daemonpublic boolean isInterrupted()
public void setInterrupted(boolean interrupted)
interrupted - the new interruptedpublic String getRunnableClassName()
public void setRunnableClassName(String runnableClassName)
runnableClassName - the new runnable class namepublic String getGroupName()
public void setGroupName(String groupName)
groupName - the new group namepublic String getAppName()
public void setAppName(String appName)
appName - the new app namepublic String getThreadClass()
public void setThreadClass(String threadClass)
threadClass - the new thread classpublic String getClassLoader()
public void setClassLoader(String classLoader)
classLoader - the new class loaderCopyright © 2009–2020 psi-probe. All rights reserved.