use of com.navercorp.pinpoint.collector.cluster.ClusterAddressProvider in project pinpoint by naver.
the class CollectorClusterConnector method connect.
PinpointSocket connect(Address address) {
Objects.requireNonNull(clientFactory, "not started.");
Objects.requireNonNull(address, "address");
ClusterAddressProvider clusterAddressProvider = new ClusterAddressProvider(address);
PinpointSocket socket = ClientFactoryUtils.createPinpointClient(clusterAddressProvider, clientFactory);
return socket;
}
Aggregations