Package org.dspace.google
Class GoogleAsyncEventListener
- java.lang.Object
-
- org.dspace.usage.AbstractUsageEventListener
-
- org.dspace.google.GoogleAsyncEventListener
-
- All Implemented Interfaces:
EventListener
public class GoogleAsyncEventListener extends AbstractUsageEventListener
Notifies Google Analytics of Bitstream VIEW events. These events are stored in memory and then asynchronously processed by a single seperate thread.- Author:
- April Herron
-
-
Constructor Summary
Constructors Constructor Description GoogleAsyncEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidinit()voidreceiveEvent(Event event)-
Methods inherited from class org.dspace.usage.AbstractUsageEventListener
getEventNamePrefixes, getResourcePrefix, setEventService
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
receiveEvent
public void receiveEvent(Event event)
-
destroy
@PreDestroy public void destroy() throws InterruptedException- Throws:
InterruptedException
-
-