|
GemFire 5.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.admin.AdminDistributedSystemFactory
public class AdminDistributedSystemFactory
Factory for creating GemFire administration entities.
| Constructor Summary | |
|---|---|
AdminDistributedSystemFactory()
|
|
| Method Summary | |
|---|---|
static void |
bindToAddress(String bindAddress)
Deprecated. Use DistributedSystemConfig.setBindAddress(java.lang.String) instead. |
static DistributedSystemConfig |
defineDistributedSystem()
Defines a "default" distributed system configuration based on VM system properties and the content of gemfire.properties. |
static DistributedSystemConfig |
defineDistributedSystem(DistributedSystem system,
String remoteCommand)
Defines a distributed system configuration for administering the distributed system to which this VM is currently connected. |
static AdminDistributedSystem |
getDistributedSystem(DistributedSystemConfig config)
Returns the distributed system for administrative monitoring and managing. |
static LogWriter |
getLogWriter()
Returns a default GemFire LogWriter for logging. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminDistributedSystemFactory()
| Method Detail |
|---|
public static void bindToAddress(String bindAddress)
DistributedSystemConfig.setBindAddress(java.lang.String) instead.
Using a null or empty bindAddress will clear the usage of this option and connections to distributed systems will return to using all available network interfaces.
This method always throws UnsupportedOperationException because it is
now deprecated and is unsafe to use. Please use DistributedSystemConfig.setBindAddress(java.lang.String) instead.
bindAddress - machine name or IP address to bind to
UnsupportedOperationException - because of deprecationpublic static DistributedSystemConfig defineDistributedSystem()
gemfire.properties. The DistributedSystemConfig.DEFAULT_REMOTE_COMMAND default remote
command is used.
DistributedSystem.connect(java.util.Properties)
public static DistributedSystemConfig defineDistributedSystem(DistributedSystem system,
String remoteCommand)
throws AdminException
DistributedSystem is used to configure the discovery
mechanism (multicast or locators), bind address, SSL attributes,
as well as the logger of the
DistributedSystemConfig. Note that the distributed
system will not be able to be administered until the connect method is invoked.
system - A connection to the distributed systemremoteCommand - The shell command that is used to launch processes that
run on remote machines. If null, then the
default will be used.
AdminException
public static AdminDistributedSystem getDistributedSystem(DistributedSystemConfig config)
throws AdminException
AdminDistributedSystem.connect() before interacting with the
actual system.
config - configuration definition of the system to administer
AdminException - if unable to connect to the distributed systempublic static LogWriter getLogWriter()
|
GemFire 5.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||