public class TestConsumer extends Object implements Consumer
| Constructor and Description |
|---|
TestConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Context ctx,
Event event)
Consume a content event - display it in detail.
|
void |
end(Context ctx)
Signal that there are no more events queued in this event stream and
event processing for the preceding consume calls should be finished up.
|
void |
finish(Context ctx)
Finish - free any allocated resources.
|
void |
initialize()
Initialize - allocate any resources required to operate.
|
public void initialize()
throws Exception
Consumerinitialize in interface ConsumerExceptionpublic void consume(Context ctx, Event event) throws Exception
public void end(Context ctx) throws Exception
ConsumerCopyright © 2022 LYRASIS. All rights reserved.