Interface IStatisticsDataHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.elasticsearch.client.RestHighLevelClient getClient()
      Returns the underlying elasticsearch client
      boolean isLoggingEnabled()
      Returns true if the statistics module is enabled otherwise false
      org.elasticsearch.action.index.IndexResponse persist​(Map<String,​Object> dataMap)
      Persist the date to the database
    • Method Detail

      • persist

        org.elasticsearch.action.index.IndexResponse persist​(Map<String,​Object> dataMap)
                                                      throws org.elasticsearch.ElasticsearchGenerationException,
                                                             IOException
        Persist the date to the database
        Parameters:
        dataMap - keys are property names and the values are the objects
        Returns:
        the response
        Throws:
        IOException - If an error occurs
        org.elasticsearch.ElasticsearchGenerationException - If an error occurs
      • isLoggingEnabled

        boolean isLoggingEnabled()
        Returns true if the statistics module is enabled otherwise false
        Returns:
        is the logging enabled
      • getClient

        org.elasticsearch.client.RestHighLevelClient getClient()
        Returns the underlying elasticsearch client
        Returns:
        the opened ready to used client.