|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.krakenapps.filter.DefaultFilter
org.krakenapps.filter.ActiveFilter
public abstract class ActiveFilter
ActiveFilter class should be implemented by any filter class which filters are intended to be excuted by a thread.
Filter| Constructor Summary | |
|---|---|
ActiveFilter()
|
|
| Method Summary | |
|---|---|
void |
close()
Finalize callback. |
boolean |
isRunning()
Returns true if thread is running. |
void |
open()
Initialize callback. |
abstract void |
run()
ActiveFilterRunner calls this callback in each loop. |
void |
setRunning(boolean isRunning)
|
| Methods inherited from class org.krakenapps.filter.DefaultFilter |
|---|
getInputMessageSpecs, getOutputMessageSpec, getProperty, getPropertyKeys, process, setProperty, unsetProperty, validateConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActiveFilter()
| Method Detail |
|---|
public boolean isRunning()
public void setRunning(boolean isRunning)
public void open()
throws ConfigurationException
ConfigurationException - if failed to configurepublic void close()
public abstract void run()
throws java.lang.InterruptedException
java.lang.InterruptedException - if thread is interrupted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||