public class ElasticStatisticsPublisher extends Object
| Modifier and Type | Method and Description |
|---|---|
static Queue<Map<String,Object>> |
getAllMappingsQueue() |
static void |
process(org.apache.synapse.aspects.flow.statistics.publishing.PublishingFlow publishingFlow)
Processes the PublishingFlow into a simple json format
|
static void |
publish(List<String> jsonsToSend,
org.elasticsearch.client.transport.TransportClient client)
Publishes the array list of simplified jsons to Elasticsearch using the Transport client
|
public static void process(org.apache.synapse.aspects.flow.statistics.publishing.PublishingFlow publishingFlow)
publishingFlow - PublishingFlow object which contains the publishing eventspublic static void publish(List<String> jsonsToSend, org.elasticsearch.client.transport.TransportClient client)
jsonsToSend - array list of json strings to be published to Elasticsearchclient - elasticsearch Transport clientCopyright © 2018 WSO2. All rights reserved.