|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.statistics.StatisticsLoggingConsumer
public class StatisticsLoggingConsumer
StatisticsLogging Consumer for SolrLogger which captures Create, Update and Delete Events on DSpace Objects. All usage-events will be updated to capture changes to e.g. the owning collection
| Constructor Summary | |
|---|---|
StatisticsLoggingConsumer()
|
|
| Method Summary | |
|---|---|
void |
consume(Context ctx,
Event event)
Consume an event; events may get filtered at the dispatcher level, hiding it from the consumer. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticsLoggingConsumer()
| Method Detail |
|---|
public void initialize()
throws Exception
Consumer
initialize in interface ConsumerException
public void consume(Context ctx,
Event event)
throws Exception
Consumer
consume in interface Consumerctx - the execution context objectevent - the content event
Exception
public void end(Context ctx)
throws Exception
Consumer
end in interface ConsumerException
public void finish(Context ctx)
throws Exception
Consumer
finish in interface ConsumerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||