com.sun.jini.outrigger.snaplogstore
Class BackEnd.ConsumerThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.sun.jini.outrigger.snaplogstore.BackEnd.ConsumerThread
All Implemented Interfaces:
Runnable
Enclosing class:
BackEnd

private class BackEnd.ConsumerThread
extends Thread

Thread to consume log files. LogOutputFile calls update (through the Observer interface each time a log file is written.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  boolean interrupted
           
private  boolean more
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BackEnd.ConsumerThread()
           
 
Method Summary
 void interrupt()
           
 void run()
           
private  void update()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

more

private boolean more

interrupted

private volatile boolean interrupted
Constructor Detail

BackEnd.ConsumerThread

BackEnd.ConsumerThread()
Method Detail

run

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

update

private void update()

interrupt

public void interrupt()
Overrides:
interrupt in class Thread


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.