org.emboss.jemboss.server
Class AppendToLogFileThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.emboss.jemboss.server.AppendToLogFileThread
All Implemented Interfaces:
java.lang.Runnable

public class AppendToLogFileThread
extends java.lang.Thread

Write to a log file in a separate thread


Field Summary
private  java.lang.String logEntry
           
private  java.lang.String logFileName
           
private  boolean memLog
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AppendToLogFileThread(java.lang.String logEntry, java.lang.String logFileName, boolean memLog)
           
 
Method Summary
 void run()
          Override Thread run() method
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Field Detail

logEntry

private java.lang.String logEntry

logFileName

private java.lang.String logFileName

memLog

private boolean memLog
Constructor Detail

AppendToLogFileThread

public AppendToLogFileThread(java.lang.String logEntry,
                             java.lang.String logFileName,
                             boolean memLog)
Parameters:
logEntry - entry to add to a log file
logFileName - name of the log file
memLog - true if to include a log of memory usage
Method Detail

run

public void run()
Override Thread run() method