You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2016/08/11 16:05:20 UTC
[jira] [Created] (GEODE-1754) InternalLocator.startLocator needs to
be cleaned up
Bruce Schuchardt created GEODE-1754:
---------------------------------------
Summary: InternalLocator.startLocator needs to be cleaned up
Key: GEODE-1754
URL: https://issues.apache.org/jira/browse/GEODE-1754
Project: Geode
Issue Type: Task
Components: management
Reporter: Bruce Schuchardt
InternalLocator.startLocator was modified to have a loadSharedConfigFromDir parameter that is never used. It should be removed.
{noformat}
/**
* Creates a distribution locator that runs in this VM on the given
* port and bind address.
*
* This is for internal use only as it does not create a distributed
* system unless told to do so.
*
* @param port
* the tcp/ip port to listen on
* @param logFile
* the file that log messages should be written to
* @param logger
* a log writer that should be used (logFile parameter is ignored)
* @param securityLogger
* the logger to be used for security related log messages
* @param startDistributedSystem
* if true, a distributed system is started
* @param dsProperties
* optional properties to configure the distributed system (e.g., mcast addr/port, other locators)
* @param peerLocator
* enable peer location services
* @param enableServerLocator
* enable server location services
* @param hostnameForClients
* the name to give to clients for connecting to this locator
* @param loadSharedConfigFromDir TODO:CONFIG
* @throws IOException
*/
public static InternalLocator startLocator(
int port,
File logFile,
File stateFile,
InternalLogWriter logger,
InternalLogWriter securityLogger,
InetAddress bindAddress,
boolean startDistributedSystem,
java.util.Properties dsProperties,
boolean peerLocator,
boolean enableServerLocator,
String hostnameForClients,
boolean loadSharedConfigFromDir
)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)