uk.ac.cam.juliet.twitter.main
Class Buffer

java.lang.Object
  extended by uk.ac.cam.juliet.twitter.main.Buffer

public class Buffer
extends java.lang.Object

contains the thread-safe queue where all fetched tweets will be kept until they have been analysed and added to the database

Author:
Ahmad Akra

Field Summary
static java.util.concurrent.ArrayBlockingQueue<Tweet> queue
          thread-safe queue which will hold all fetched tweets until they have been analysed and added to the database
 
Constructor Summary
Buffer()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queue

public static java.util.concurrent.ArrayBlockingQueue<Tweet> queue
thread-safe queue which will hold all fetched tweets until they have been analysed and added to the database

Constructor Detail

Buffer

public Buffer()