public class IndexEventConsumer extends Object implements org.dspace.event.Consumer
| Constructor and Description |
|---|
IndexEventConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(org.dspace.core.Context ctx,
org.dspace.event.Event event)
Consume a content event -- just build the sets of objects to add (new) to
the index, update, and delete.
|
void |
end(org.dspace.core.Context ctx)
Process sets of objects to add, update, and delete in index.
|
void |
finish(org.dspace.core.Context ctx) |
void |
initialize() |
public void initialize()
throws Exception
initialize in interface org.dspace.event.ConsumerExceptionpublic void consume(org.dspace.core.Context ctx,
org.dspace.event.Event event)
throws Exception
consume in interface org.dspace.event.Consumerctx - DSpace contextevent - Content eventExceptionpublic void end(org.dspace.core.Context ctx)
throws Exception
end in interface org.dspace.event.ConsumerExceptionCopyright © 2014 DuraSpace. All rights reserved.