|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.parc.channel.AbstractChannel
com.rhi.architecture.parc.LinkedListQueue
LinkedListQueue - general purpose implementation of Channel.
Constructor Summary | |
LinkedListQueue()
Default constructor. |
Method Summary | |
java.lang.Object |
clone()
Simple Object based clone() method. |
java.util.Collection |
pull(int max)
Pull a set of records out of the channel for processing. |
void |
push(java.util.Collection collection)
Push an entire collection into the channel. |
Methods inherited from class com.rhi.architecture.parc.channel.AbstractChannel |
log, notifyMonitors, registerMonitor |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinkedListQueue()
Method Detail |
public void push(java.util.Collection collection) throws ProcessingException
collection
- of records to enqueue.
ProcessingException
public java.util.Collection pull(int max) throws ProcessingException
max
- - the max number of records to pull from the channel.
ProcessingException
public java.lang.Object clone()
Object
based clone() method. The reason this is
okay is because i'm counting on re-using the same channel between
each filter. That's where the concurrency comes in & why i'm using
Doug Lea's package in the first place. In this case, simple is good.
clone
in interface Channel
clone
in class AbstractChannel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |