20.20
java.lang.Thread
THE PACKAGE JAVA.LANG
20.20.17
public final void suspend()
throws SecurityException
First, the
checkAccess
 method ( 20.20.12) of this
Thread
 object is called with
no arguments. This may result in throwing a
SecurityException
 (in the current
thread).
If this thread is alive ( 20.20.26), it is suspended and makes no further
progress unless and until it is resumed. It is permitted to suspend a thread that is
already in a suspended state; it remains suspended. Suspensions are not tallied;
even if a thread is suspended more than once, only one call to
resume
 is required
to resume it.
20.20.18
public final void resume()
throws SecurityException
First, the
checkAccess
 method ( 20.20.12) of this
Thread
 object is called with
no arguments. This may result in throwing a
SecurityException
 (in the current
thread).
If this thread is alive ( 20.20.26) but suspended, it is resumed and is permitted
to make progress in its execution. It is permitted to resume a thread that has never
been suspended or has already been resumed; it continues to make progress in its
execution. Resumptions are not tallied; even if a thread is resumed more than
once, only one call to
suspend
 is required to suspend it.
20.20.19
public final String getName()
The current name of this
Thread
 object is returned as a
String
.
20.20.20
public final void setName(String name)
throws SecurityException
First, the
checkAccess
 method ( 20.20.12) of this
Thread
 object is called with
no arguments. This may result in throwing a
SecurityException
 (in the current
thread).
The name of this
Thread
 object is changed to be equal to the argument
name
.
596






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