protected class DefaultFilterProcessingUnit.FilterLoopWorker extends BaseProcessingUnit.EventLoopWorker
| Constructor and Description |
|---|
FilterLoopWorker(Processable processable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
processEvent(Event event)
Returns
true if the event should be put into the out queue. |
boolean |
shouldContinueLoop() |
getInEvent, getLastEvent, runIterationgetProcessable, runpublic FilterLoopWorker(Processable processable)
public boolean shouldContinueLoop()
shouldContinueLoop in class BaseProcessingUnit.LoopWorkerpublic boolean processEvent(Event event) throws InterruptedException
BaseProcessingUnit.EventLoopWorkertrue if the event should be put into the out queue.processEvent in class BaseProcessingUnit.EventLoopWorkerevent - the event.true if the event should be put into the out queue.InterruptedException - when the current thread has been interrupted.Copyright © 2016–2020 Softelnet. All rights reserved.