org.dspace.statistics
Class StatisticsLoggingConsumer

java.lang.Object
  extended by org.dspace.statistics.StatisticsLoggingConsumer
All Implemented Interfaces:
Consumer

public class StatisticsLoggingConsumer
extends Object
implements Consumer

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

Author:
kevinvandevelde at atmire.com, ben at atmrie.com

Constructor Summary
StatisticsLoggingConsumer()
           
 
Method Summary
 void consume(Context ctx, Event event)
           
 void end(Context ctx)
           
 void finish(Context ctx)
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsLoggingConsumer

public StatisticsLoggingConsumer()
Method Detail

initialize

public void initialize()
                throws Exception
Specified by:
initialize in interface Consumer
Throws:
Exception

consume

public void consume(Context ctx,
                    Event event)
             throws Exception
Specified by:
consume in interface Consumer
Throws:
Exception

end

public void end(Context ctx)
         throws Exception
Specified by:
end in interface Consumer
Throws:
Exception

finish

public void finish(Context ctx)
            throws Exception
Specified by:
finish in interface Consumer
Throws:
Exception


Copyright © 2011 DuraSpace. All Rights Reserved.