Gemfire JavaDocs
Package org.apache.geode.admin
Interface DistributionLocatorConfig
-
- All Superinterfaces:
java.lang.Cloneable
,ManagedEntityConfig
@Deprecated public interface DistributionLocatorConfig extends ManagedEntityConfig
Deprecated.as of 7.0 use themanagement
package insteadDescribes the configuration of aDistributionLocator
managed by the GemFire administration APIs.A
DistributionLocatorConfig
can be modified using a number of mutator methods until theDistributionLocator
configured by this object is started. After that, attempts to modify most attributes in theDistributionLocatorConfig
will result in anIllegalStateException
being thrown. If you wish to use the sameDistributionLocatorConfig
to configure anotherDistributionLocator
s, a copy of theDistributionLocatorConfig
object can be made by invoking theObject.clone()
method.- Since:
- GemFire 4.0
- See Also:
AdminDistributedSystem.addDistributionLocator()
,Locator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getBindAddress()
Deprecated.Returns the address to which the distribution locator's port is (or will be) bound.java.util.Properties
getDistributedSystemProperties()
Deprecated.Retrieves the properties used to configure the locator's DistributedSystem.int
getPort()
Deprecated.Returns the port on which ths distribution locator listens for members to connect.void
setBindAddress(java.lang.String bindAddress)
Deprecated.Sets the address to which the distribution locator's port is (or will be) bound.void
setDistributedSystemProperties(java.util.Properties props)
Deprecated.Sets the properties used to configure the locator's DistributedSystem.void
setPort(int port)
Deprecated.Sets the port on which the distribution locator listens for members to connect.-
Methods inherited from interface org.apache.geode.admin.ManagedEntityConfig
clone, getHost, getProductDirectory, getRemoteCommand, getWorkingDirectory, setHost, setProductDirectory, setRemoteCommand, setWorkingDirectory, validate
-
-
-
-
Method Detail
-
getPort
int getPort()
Deprecated.Returns the port on which ths distribution locator listens for members to connect. There is no default locator port, so a non-default port must be specified.- Returns:
- the port on which the distribution locator listens for members to connect
-
setPort
void setPort(int port)
Deprecated.Sets the port on which the distribution locator listens for members to connect.- Parameters:
port
- the port on which the distribution locator listens for members to connect
-
getBindAddress
java.lang.String getBindAddress()
Deprecated.Returns the address to which the distribution locator's port is (or will be) bound. By default, the bind address isnull
meaning that the port will be bound to all network addresses on the host.- Returns:
- the address to which the distribution locator's port is (or will be) bound
-
setBindAddress
void setBindAddress(java.lang.String bindAddress)
Deprecated.Sets the address to which the distribution locator's port is (or will be) bound.- Parameters:
bindAddress
- the address to which the distribution locator's port is (or will be) bound
-
setDistributedSystemProperties
void setDistributedSystemProperties(java.util.Properties props)
Deprecated.Sets the properties used to configure the locator's DistributedSystem.- Parameters:
props
- the properties used to configure the locator's DistributedSystem- Since:
- GemFire 5.0
-
getDistributedSystemProperties
java.util.Properties getDistributedSystemProperties()
Deprecated.Retrieves the properties used to configure the locator's DistributedSystem.- Returns:
- the properties used to configure the locator's DistributedSystem
- Since:
- GemFire 5.0
-
-