Protege 3.4.8

edu.stanford.smi.protege.server.util
Class FifoWriter<X>

java.lang.Object
  extended by edu.stanford.smi.protege.server.util.FifoWriter<X>
Type Parameters:
X -

public class FifoWriter<X>
extends Object

This is the writer part of a pair of linked classes, the FifoWriter and the FifoReader. These classes implement a Fifo queue as one writer and many readers.

Author:
tredmond

Constructor Summary
FifoWriter()
           
 
Method Summary
 int getCounter()
           
protected  edu.stanford.smi.protege.server.util.LinkedList<X> getQueue()
           
 void setLogger(Logger log, String name)
           
 void write(X x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FifoWriter

public FifoWriter()
Method Detail

write

public void write(X x)

getQueue

protected edu.stanford.smi.protege.server.util.LinkedList<X> getQueue()

getCounter

public int getCounter()

setLogger

public void setLogger(Logger log,
                      String name)

Protege 3.4.8

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2012 Stanford University.