Kieker 1.3

kieker.monitoring.writer
Class AbstractAsyncThread

java.lang.Object
  extended by java.lang.Thread
      extended by kieker.monitoring.writer.AbstractAsyncThread
All Implemented Interfaces:
Runnable

public abstract class AbstractAsyncThread
extends Thread

Author:
Andre van Hoorn, Jan Waller

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AbstractAsyncThread(IMonitoringController monitoringController, BlockingQueue<IMonitoringRecord> writeQueue)
           
 
Method Summary
 void initShutdown()
           
 boolean isFinished()
           
 void run()
           
 String toString()
          Returns a human-readable information string about the writer's configuration and state.
 
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, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAsyncThread

public AbstractAsyncThread(IMonitoringController monitoringController,
                           BlockingQueue<IMonitoringRecord> writeQueue)
Method Detail

initShutdown

public final void initShutdown()

isFinished

public final boolean isFinished()

run

public final void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

toString

public String toString()
Returns a human-readable information string about the writer's configuration and state.

Overrides:
toString in class Thread
Returns:
the information string.

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net