Class XPackUsageResponse

java.lang.Object
org.elasticsearch.client.xpack.XPackUsageResponse

public class XPackUsageResponse
extends java.lang.Object
Response object from calling the xpack usage api. Usage information for each feature is accessible through getUsages().
  • Method Summary

    Modifier and Type Method Description
    static XPackUsageResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> getUsages()
    Return a map from feature name to usage information for that feature.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getUsages

      public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> getUsages()
      Return a map from feature name to usage information for that feature.
    • fromXContent

      public static XPackUsageResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException