wt.util
Class FileConsumer.FileConsumerQueue
java.lang.Object
wt.util.Consumer.SynchronizedQueue
wt.util.FileConsumer.FileConsumerQueue
- All Implemented Interfaces:
- Consumer.Queue
- Enclosing class:
- FileConsumer
- protected static final class FileConsumer.FileConsumerQueue
- extends Consumer.SynchronizedQueue
An extension of SynchronizedQueue that keeps track of the current file.
fileChanges
private final LinkedList fileChanges
currentFile
private String currentFile
changeCount
private int changeCount
FileConsumer.FileConsumerQueue
public FileConsumer.FileConsumerQueue(int max_buffer_size)
dequeue
public Object dequeue()
- Specified by:
dequeue
in interface Consumer.Queue
- Overrides:
dequeue
in class Consumer.SynchronizedQueue
fileChange
public void fileChange(String file_name)
getCurrentFile
public String getCurrentFile()