Package org.elasticsearch.benchmark.search.aggregations.TermsAggregationSearchBenchmark

Examples of org.elasticsearch.benchmark.search.aggregations.TermsAggregationSearchBenchmark.StatsResult


        ClusterStatsResponse clusterStateResponse = client.admin().cluster().prepareClusterStats().setNodesIds(nodeId).get();
        System.out.println("--> Heap used: " + clusterStateResponse.getNodesStats().getJvm().getHeapUsed());
        ByteSizeValue fieldDataMemoryUsed = clusterStateResponse.getIndicesStats().getFieldData().getMemorySize();
        System.out.println("--> Fielddata memory size: " + fieldDataMemoryUsed);

        return new StatsResult(name, totalQueryTime, fieldDataMemoryUsed);
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.benchmark.search.aggregations.TermsAggregationSearchBenchmark.StatsResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.