Package org.elasticsearch.client.transport.support

Examples of org.elasticsearch.client.transport.support.InternalTransportClusterAdminClient


            actions.put(TestAction.NAME, TestAction.INSTANCE);
            actions.put(IndicesAdminTestAction.NAME, IndicesAdminTestAction.INSTANCE);
            actions.put(ClusterAdminTestAction.NAME, ClusterAdminTestAction.INSTANCE);

            InternalTransportIndicesAdminClient indicesAdminClient = new InternalTransportIndicesAdminClient(ImmutableSettings.EMPTY, transportClientNodesService, transportService, threadPool, actions, Headers.EMPTY);
            InternalTransportClusterAdminClient clusterAdminClient = new InternalTransportClusterAdminClient(ImmutableSettings.EMPTY, transportClientNodesService, threadPool, transportService, actions, Headers.EMPTY);
            InternalTransportAdminClient adminClient = new InternalTransportAdminClient(ImmutableSettings.EMPTY, indicesAdminClient, clusterAdminClient);
            internalTransportClient = new InternalTransportClient(ImmutableSettings.EMPTY, threadPool, transportService, transportClientNodesService, adminClient, actions, Headers.EMPTY);

            nodesCount = randomIntBetween(1, 10);
            for (int i = 0; i < nodesCount; i++) {
View Full Code Here

TOP

Related Classes of org.elasticsearch.client.transport.support.InternalTransportClusterAdminClient

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.