All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gemstone.gemfire.admin.DistributionLocatorConfig Maven / Gradle / Ivy

There is a newer version: 2.0-BETA
Show newest version
/*
 * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you
 * may not use this file except in compliance with the License. You
 * may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied. See the License for the specific language governing
 * permissions and limitations under the License. See accompanying
 * LICENSE file.
 */
package com.gemstone.gemfire.admin;
import java.util.Properties;

/**
 * Describes the configuration of a {@link DistributionLocator}
 * managed by the GemFire administration APIs.  
 *
 * 

* * A DistributionLocatorConfig can be modified using a * number of mutator methods until the * DistributionLocator configured by this object is * {@linkplain ManagedEntity#start started}. After that, * attempts to modify most attributes in the * DistributionLocatorConfig will result in an {@link * IllegalStateException} being thrown. If you wish to use the same * DistributionLocatorConfig to configure another * DistributionLocators, a copy of the * DistributionLocatorConfig object can be made by * invoking the {@link Object#clone} method. * * @see AdminDistributedSystem#addDistributionLocator * @see com.gemstone.gemfire.distributed.Locator * * @author David Whitlock * @since 4.0 * @deprecated as of 7.0 use the {@link com.gemstone.gemfire.management} package instead */ public interface DistributionLocatorConfig extends ManagedEntityConfig { /** * 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. */ public int getPort(); /** * Sets the port on which the distribution locator listens for * members to connect. */ public void setPort(int port); /** * Returns the address to which the distribution locator's port is * (or will be) bound. By default, the bind address is * null meaning that the port will be bound to all * network addresses on the host. */ public String getBindAddress(); /** * Sets the address to which the distribution locator's port is * (or will be) bound. */ public void setBindAddress(String bindAddress); /** * Sets the properties used to configure the locator's * DistributedSystem. * @since 5.0 */ public void setDistributedSystemProperties(Properties props); /** * Retrieves the properties used to configure the locator's * DistributedSystem. * @since 5.0 */ public Properties getDistributedSystemProperties(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy