20.20
java.lang.Thread
THE PACKAGE JAVA.LANG
20.20.26
public final boolean isAlive()
The result is
true
 if and only if this thread is alive (it has been started and has not
yet died).
20.20.27
public int countStackFrames()
This method returns the number of Java Virtual Machine stack frames currently
active for this thread.
20.20.28
public final void join() throws InterruptedException
This method causes the current thread to wait (using the
wait
 method ( 20.1.6) of
class
Object
) until this thread is no longer alive.
If the current thread is interrupted ( 20.20.31) by another thread while it is
waiting, then the wait is ended and an
InterruptedException
 is thrown.
20.20.29
public final void join(long millis)
throws InterruptedException
This method causes the current thread to wait (using the
wait
 method ( 20.1.7) of
class
Object
) until either this thread is no longer alive or a certain amount of real
time has elapsed, more or less.
The amount of real time, measured in milliseconds, is given by
millis
. If
millis
 is zero, however, then real time is not taken into consideration and this
method simply waits until this thread is no longer alive.
If the current thread is interrupted ( 20.20.31) by another thread while it is
waiting, then the wait is ended and an
InterruptedException
 is thrown.
20.20.30
public final void join(long millis, int nanos)
throws InterruptedException
This method causes the current thread to wait (using the
wait
 method ( 20.1.8) of
class
Object
) until either this thread is no longer alive or a certain amount of real
time has elapsed, more or less.
The amount of real time, measured in nanoseconds, is given by:
1000000*millis+nanos
598






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved