SmartFrog 3.10.000

org.smartfrog.sfcore.logging
Class LogAsyncThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.smartfrog.sfcore.logging.LogAsyncThread
All Implemented Interfaces:
java.lang.Runnable

public class LogAsyncThread
extends java.lang.Thread

LogAsyncThread implements the worker thread that invokes methods queued in a LogAsyncQueue. This is used by LogImplAsyncWrapper.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
LogAsyncThread(LogAsyncQueue queue)
          Constructor
 
Method Summary
 void run()
          Run method for the thread
 void terminate()
          Terminate the thread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogAsyncThread

public LogAsyncThread(LogAsyncQueue queue)
Constructor

Parameters:
queue - queue of methods to be invoked
Method Detail

run

public void run()
Run method for the thread

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

terminate

public void terminate()
Terminate the thread


SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP