/** * currently this is a test method but it ought to be used by InternalLocator * to create the peer location TcpHandler */ static public NetLocator newLocatorHandler(InetAddress bindAddress, File stateFile, String locatorString, boolean usePreferredCoordinators, boolean networkPartitionDetectionEnabled, LocatorStats stats) { return services.newLocatorHandler(bindAddress, stateFile, locatorString, usePreferredCoordinators, networkPartitionDetectionEnabled, stats); }