All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.status.ThreadStat

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.jigsaw.resources.HTTPResource
                           |
                           +----w3c.jigsaw.status.ThreadStat

public class ThreadStat
extends HTTPResource
The server thread status. This ought to be the client status, it will shortly (FIXME). It should uses a two frame display, one listing the clients, and the other one listing per client informations.

By the Way, this uses the nasty refresh stuff from netscape. It should perhaps be a servlet.


Variable Index

 o ATTR_REFRESH
Attribute index - Our refresh interval.
 o REFRESH_DEFAULT

Constructor Index

 o ThreadStat()

Method Index

 o dumpThread(Request)
 o get(Request)
Get the threads.
 o initialize(Object[])
Initialize the thread lister.
 o listThreads(Request)
Dump the currenr threads into an HTML page.

Variables

 o REFRESH_DEFAULT
 protected static Integer REFRESH_DEFAULT
 o ATTR_REFRESH
 protected static int ATTR_REFRESH
Attribute index - Our refresh interval.

Constructors

 o ThreadStat
 public ThreadStat()

Methods

 o listThreads
 public Reply listThreads(Request request)
Dump the currenr threads into an HTML page.

Parameters:
request - The request we are to reply to.
 o dumpThread
 protected Reply dumpThread(Request request) throws HTTPException
 o get
 public Reply get(Request request) throws HTTPException
Get the threads. If a search string is present, kill the indicated thread, otherwise list the currently running threads.

Parameters:
request - The request to handle.
Throws: HTTPException
If processing the request failed.
Overrides:
get in class HTTPResource
 o initialize
 public void initialize(Object values[])
Initialize the thread lister. Just get a pointer to our runtime object.

Parameters:
values - The default attribute values.
Overrides:
initialize in class AttributeHolder

All Packages  Class Hierarchy  This Package  Previous  Next  Index