Package com.linkedin.alpini.base.queuing
Interface SimpleQueue<T>
-
- Type Parameters:
T
-
- All Known Implementing Classes:
AbstractQOSBasedQueue
,QOSBasedMultiQueue
,QOSBasedQueue
,QOSFCFSQueue
public interface SimpleQueue<T>
Simplified Queue Interface that supports basic operations like add(), poll() etc akin to the operations on Queue.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
add(T e)
boolean
isEmpty()
Checks if queue is empty.T
poll()
int
size()
-