Package org.apache.geode.admin
Interface ManagedEntityConfig
- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
CacheServerConfig,CacheVmConfig,DistributionLocatorConfig
Deprecated.
Common configuration for all entities that can be managed using the GemFire administration API.
Note that once a managed entity has been started, attempts to
modify its configuration will cause an
IllegalStateException to be thrown.- Since:
- GemFire 4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.Returns a newManagedEntityConfigwith the same configuration as thisManagedEntityConfig.getHost()Deprecated.Returns the name of the host on which the managed entity runs or will run.Deprecated.Returns the name of the GemFire product directory to use when administering the managed entity.Deprecated.Returns the command prefix used to administer a managed entity that is hosted on a remote machine.Deprecated.Returns the name of the working directory in which the managed entity runs or will run.voidDeprecated.Sets the name of the host on which the managed entity will run.voidDeprecated.Sets the name of the GemFire product directory to use when administering the managed entity.voidsetRemoteCommand(String remoteCommand) Deprecated.Sets the command prefix used to administer a managed entity that is hosted on a remote machine.voidDeprecated.Sets the name of the working directory in which the managed entity will run.voidvalidate()Deprecated.Validates this configuration.
-
Method Details
-
getHost
String getHost()Deprecated.Returns the name of the host on which the managed entity runs or will run.- Returns:
- the name of the host on which the managed entity runs or will run
-
setHost
Deprecated.Sets the name of the host on which the managed entity will run.- Parameters:
host- the name of the host on which the managed entity will run
-
getWorkingDirectory
String getWorkingDirectory()Deprecated.Returns the name of the working directory in which the managed entity runs or will run.- Returns:
- the name of the working directory in which the managed entity runs or will run.
-
setWorkingDirectory
Deprecated.Sets the name of the working directory in which the managed entity will run.- Parameters:
dir- the name of the working directory in which the managed entity will run
-
getProductDirectory
String getProductDirectory()Deprecated.Returns the name of the GemFire product directory to use when administering the managed entity.- Returns:
- the name of the GemFire product directory to use when administering the managed entity
-
setProductDirectory
Deprecated.Sets the name of the GemFire product directory to use when administering the managed entity.- Parameters:
dir- the name of the GemFire product directory to use when administering the managed entity
-
getRemoteCommand
String getRemoteCommand()Deprecated.Returns the command prefix used to administer a managed entity that is hosted on a remote machine. If the remote command isnull(the default value), then the remote command associated with the distributed system will be used.- Returns:
- the command prefix used to administer a managed entity that is hosted on a remote machine
-
setRemoteCommand
Deprecated.Sets the command prefix used to administer a managed entity that is hosted on a remote machine.- Parameters:
remoteCommand- the command prefix used to administer a managed entity that is hosted on a remote machine
-
validate
void validate()Deprecated.Validates this configuration.- Throws:
IllegalStateException- If a managed entity cannot be administered using this configuration
-
clone
Deprecated.Returns a newManagedEntityConfigwith the same configuration as thisManagedEntityConfig.- Returns:
- a new
ManagedEntityConfigwith the same configuration as thisManagedEntityConfig - Throws:
CloneNotSupportedException- if the object's class does not support the Cloneable interface
-
managementpackage instead