public class CountingOutputStreamEventResolver extends Object implements StatisticsServiceEventResolver<CountingOutputStreamEvent>
| Constructor and Description |
|---|
CountingOutputStreamEventResolver() |
| Modifier and Type | Method and Description |
|---|---|
CountingOutputStreamEvent |
getEvent() |
Map<String,Object> |
resolve()
Resolves the the request to Elasticsearch format
|
void |
setEvent(CountingOutputStreamEvent payload)
Sets the payload to the Resolver class.
|
void |
setHandlers(Map<String,StatisticsServiceEventHandler<?>> handlers)
before the processing the Handlers can be added to the resolver via spring xml
|
public Map<String,Object> resolve()
StatisticsServiceEventResolverresolve in interface StatisticsServiceEventResolver<CountingOutputStreamEvent>public void setHandlers(Map<String,StatisticsServiceEventHandler<?>> handlers)
StatisticsServiceEventResolversetHandlers in interface StatisticsServiceEventResolver<CountingOutputStreamEvent>handlers - the handlerspublic void setEvent(CountingOutputStreamEvent payload)
StatisticsServiceEventResolverStatisticsServiceEventResolver.resolve() method is called.setEvent in interface StatisticsServiceEventResolver<CountingOutputStreamEvent>payload - the eventpublic CountingOutputStreamEvent getEvent()
getEvent in interface StatisticsServiceEventResolver<CountingOutputStreamEvent>Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.