public abstract class AbstractStatisticsServiceEventListener extends 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() |
Set<Class<? extends Event>> |
getTypes() |
void |
handle(Event serviceEvent) |
protected void |
registerEventType(Set<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 Set<Class<? extends Event>> getTypes()
getTypes in interface EventListenerpublic void handle(Event serviceEvent)
handle in interface EventListenerprotected void registerEventType(Set<Class<? extends Event>> types)
types - additional ServiceEvent to listener forprotected void finalize()
throws Throwable
protected abstract StatisticsServiceEventResolver<?> findResolver(Event serviceEvent)
StatisticsServiceEventResolver based on the EventserviceEvent - the eventpublic IStatisticsDataHandler getDataHandler()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.