    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.status.ThreadStat

    java.lang.Object
       |
       +----w3c.jigsaw.resources.AttributeHolder
               |
               +----w3c.jigsaw.resources.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.

##

ATTR_REFRESH
  Attribute index - Our refresh interval.
REFRESH_DEFAULT

##

ThreadStat()

##

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

##

REFRESH_DEFAULT

      protected static Integer REFRESH_DEFAULT

ATTR_REFRESH

      protected static int ATTR_REFRESH

  Attribute index - Our refresh interval.

##

ThreadStat

      public ThreadStat()

##

listThreads

      public Reply listThreads(Request request)

  Dump the currenr threads into an HTML page.
  Parameters:
    request - The request we are to reply to.

dumpThread

      protected Reply dumpThread(Request request) throws HTTPException

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

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