Modifier and Type | Method | Description |
---|---|---|
void | start() | It is used to start the execution of the thread. |
void | run() | It is used to do an action for a thread. |
static void | sleep() | It sleeps a thread for the specified amount of time. |
static Thread | currentThread() | It returns a reference to the currently executing thread object. |
void | join() | It waits for a thread to die. |
int | getPriority() | It returns the priority of the thread. |
void | setPriority() | It changes the priority of the thread. |
String | getName() | It returns the name of the thread. |
void | setName() | It changes the name of the thread. |
long | getId() | It returns the id of the thread. |
boolean | isAlive() | It tests if the thread is alive. |
static void | yield() | It causes the currently executing thread object to pause and allow other threads to execute temporarily. |
void | suspend() | It is used to suspend the thread. |
void | resume() | It is used to resume the suspended thread. |
void | stop() | It is used to stop the thread. |
void | destroy() | It is used to destroy the thread group and all of its subgroups. |
boolean | isDaemon() | It tests if the thread is a daemon thread. |
void | setDaemon() | It marks the thread as daemon or user thread. |
void | interrupt() | It interrupts the thread. |
boolean | isinterrupted() | It tests whether the thread has been interrupted. |
static boolean | interrupted() | It tests whether the current thread has been interrupted. |
static int | activeCount() | It returns the number of active threads in the current thread's thread group. |
void | checkAccess() | It determines if the currently running thread has permission to modify the thread. |
static boolean | holdLock() | It returns true if and only if the current thread holds the monitor lock on the specified object. |
static void | dumpStack() | It is used to print a stack trace of the current thread to the standard error stream. |
StackTraceElement[] | getStackTrace() | It returns an array of stack trace elements representing the stack dump of the thread. |
static int | enumerate() | It is used to copy every active thread's thread group and its subgroup into the specified array. |
Thread.State | getState() | It is used to return the state of the thread. |
ThreadGroup | getThreadGroup() | It is used to return the thread group to which this thread belongs |
String | toString() | It is used to return a string representation of this thread, including the thread's name, priority, and thread group. |
void | notify() | It is used to give the notification for only one thread which is waiting for a particular object. |
void | notifyAll() | It is used to give the notification to all waiting threads of a particular object. |
void | setContextClassLoader() | It sets the context ClassLoader for the Thread. |
ClassLoader | getContextClassLoader() | It returns the context ClassLoader for the thread. |
static Thread.UncaughtExceptionHandler | getDefaultUncaughtExceptionHandler() | It returns the default handler invoked when a thread abruptly terminates due to an uncaught exception. |
static void | setDefaultUncaughtExceptionHandler() |
Pages
- Home - Technical Architect Brain
- My Brief Profile
- Motivational
- Stay Motivated
- Spring Cloud
- Solid
- Javascript Function
- Cloud Native Architect
- NoSql
- MSA
- Maven
- Spring Boot
- GIT
- Linux
- Docker
- 360 Degree
- FP
- Kubernate
- Dev Ops
- MongoDB
- Scala Spark & Flink
- AWS
- SQL
- Micro Services Architect
- Product Scaling & Innovation
- Solr & Elastic Search
- Angular & Mean
- CI CD
- Oauth2
- Financial
- CEO Indian
- Agile
- Big Data
- Data Science
- Data Analytics
- AI
- Data WareHouse
- Cloud
- Data Lake
- OLAP VS OLTP
- Hadoop
- Scale Cube
- Webinars
- Android
- Deep Learning
- Top
- NFR 360
- Java Script
- HTML 5
- CSS
- AWS
- AWS Lambda
- AWS Route53
- AWS Security
- AWS DDOS
- AWS Service Recovery
- CSS
- Agile
- JQuery
- Strut
- AWS VS Azure
- CAP THEOREM
- AWS Glue
Total WebSite Views Count
1
Java Thread Methods
AWS Services

Technology Selection & Evaluation Criteria

Scale Cube - Scale In X Y Z Cube

Feature Post
About Me

Spring Cloud

Spring Cloud
Spring Cloud +mCloud Native + Big Data Archittect

ACID Transaction

Data Pipe Line Stack

Popular Posts
-
Lambda Architecture Top Level View : Hybrid form of batch- and real-time stream-processing to process massive of records by maintainin...
-
Based on Insertion Order - Cache Replacement First in first out (FIFO) Last in first out (LIFO) or First in last out (FILO) Based ...
-
Architecture Pattern Variations For Achieving Scalability Based on three meta patterns: distribution, caching, and asynchronous process...
-
"There is no secret of product scaling. Just remember scaling 3-dimensions where we have to focus for scaling & optimizing any...
-
Apache Ignite Features Apache Ignite memory-centric database and caching platform comprises the following set of components: Apache I...