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.RestHighLevelClient client)
Publishes the array list of simplified jsons to Elasticsearch using the Java High Level REST 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.RestHighLevelClient client)
jsonsToSend - array list of json strings to be published to Elasticsearchclient - elasticsearch RestHighLevelClientCopyright © 2019 WSO2. All rights reserved.