public class IndexEventConsumer extends java.lang.Object implements Consumer
| Constructor and Description |
|---|
IndexEventConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Context ctx,
Event event)
Consume a content event -- just build the sets of objects to add (new) to
the index, update, and delete.
|
void |
end(Context ctx)
Process sets of objects to add, update, and delete in index.
|
void |
finish(Context ctx)
Finish - free any allocated resources.
|
void |
initialize()
Initialize - allocate any resources required to operate.
|
public void initialize()
throws java.lang.Exception
Consumerinitialize in interface Consumerjava.lang.Exceptionpublic void consume(Context ctx, Event event) throws java.lang.Exception
public void end(Context ctx) throws java.lang.Exception
Copyright © 2018 DuraSpace. All Rights Reserved.