public abstract class AbstractStatisticsServiceEventListener extends java.lang.Object implements EventListener
| Constructor and Description |
|---|
AbstractStatisticsServiceEventListener() |
AbstractStatisticsServiceEventListener(int threadPoolSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
protected abstract StatisticsServiceEventResolver<?> |
findResolver(Event serviceEvent)
Returns the application specific resolver
StatisticsServiceEventResolver based on the Event |
IStatisticsDataHandler |
getDataHandler() |
java.util.Set<java.lang.Class<? extends Event>> |
getTypes() |
void |
handle(Event serviceEvent) |
protected void |
registerEventType(java.util.Set<java.lang.Class<? extends Event>> types)
Call this method in the constructor or before listener registration starts to register additional event types to
your listener
|
public AbstractStatisticsServiceEventListener()
public AbstractStatisticsServiceEventListener(int threadPoolSize)
public java.util.Set<java.lang.Class<? extends Event>> getTypes()
getTypes in interface EventListenerpublic void handle(Event serviceEvent)
handle in interface EventListenerprotected void registerEventType(java.util.Set<java.lang.Class<? extends Event>> types)
types - additional ServiceEvent to listener forprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwableprotected abstract StatisticsServiceEventResolver<?> findResolver(Event serviceEvent)
StatisticsServiceEventResolver based on the EventserviceEvent - the eventpublic IStatisticsDataHandler getDataHandler()
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.