public class GfxdSystemAdmin
extends com.gemstone.gemfire.internal.SystemAdmin
SystemAdmin class) directly using the "gfxd"
script (see bug #41469). It uses a ThreadLocal to store the current
command to be executed and invokes the SystemAdmin class overriding
methods as appropriate for GemFireXD.| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultLogFileName |
protected static HashMap<String,String> |
modifiedHelpInfo |
protected static HashMap<String,String> |
modifiedUsageInfo |
protected static HashSet<String> |
removedCommands
Commands from
SystemAdmin that are not used in GemFireXD and have
been removed. |
| Constructor and Description |
|---|
GfxdSystemAdmin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBackupArgs(String cmd,
List cmdLine) |
protected void |
checkDashArg(String cmd,
String arg,
Iterator it) |
protected void |
checkNoArgs(String cmd,
List cmdLine) |
protected void |
checkRevokeMissingDiskStoresArgs(String cmd,
List cmdLine) |
protected void |
checkShutDownAllArgs(String cmd,
List<String> cmdLine) |
String |
encryptForExternal(String cmd,
List<?> cmdLine,
String user,
String pwd) |
protected String |
encryptPassword(String cmd,
List<?> cmdLine) |
protected com.gemstone.gemfire.distributed.internal.InternalDistributedSystem |
getAdminCnx(String cmd,
List cmdLine) |
protected String |
getDistributionLocatorPath()
get the path to the distribution locator class
|
protected String |
getUsageString(String cmd) |
static String[] |
getValidCommands()
returns the list of valid commands supported by
SystemAdmin |
protected void |
initMapsForGFXD() |
void |
invoke(String[] args) |
protected Set<?> |
invokeShutDownAllMembers(com.gemstone.gemfire.distributed.internal.InternalDistributedSystem ads,
long timeout) |
static void |
main(String[] args) |
protected void |
printHelp(String cmd) |
protected void |
printProductDirectory() |
void |
printStacks(String cmd,
List<String> cmdLine,
boolean allStacks) |
void |
upgradeDiskStore(List<String> args) |
protected String |
upperCaseDiskStoreNameIfNeeded(String diskStoreName) |
backup, checkCmd, compactAllDiskStores, compactDiskStore, compactDiskStore, exportDiskStore, findGemFireLibDir, format, format, getExceptionMessage, getHiddenDir, getProductDir, help, initHelpMap, initUsageMap, join, join, join, join, lineWrapOut, listMissingDiskStores, locatorInfo, locatorStart, locatorStart, locatorStatus, locatorStop, locatorTailLog, matchCmdArg, mergeLogs, modifyDiskStore, modifyDiskStore, printHelpTopic, revokeMissingDiskStores, setDistributedSystemProperties, showDiskStoreMetadata, shutDownAll, statistics, tailFile, usage, usage, validateDiskStore, validateDiskStore, validLocalAddressprotected static final HashSet<String> removedCommands
SystemAdmin that are not used in GemFireXD and have
been removed.protected String defaultLogFileName
protected void initMapsForGFXD()
public static void main(String[] args)
public void invoke(String[] args)
invoke in class com.gemstone.gemfire.internal.SystemAdminprotected String getDistributionLocatorPath()
getDistributionLocatorPath in class com.gemstone.gemfire.internal.SystemAdminprotected String getUsageString(String cmd)
getUsageString in class com.gemstone.gemfire.internal.SystemAdminprotected void printHelp(String cmd)
printHelp in class com.gemstone.gemfire.internal.SystemAdminpublic void printStacks(String cmd, List<String> cmdLine, boolean allStacks)
printStacks in class com.gemstone.gemfire.internal.SystemAdminprotected void checkDashArg(String cmd, String arg, Iterator it)
checkDashArg in class com.gemstone.gemfire.internal.SystemAdminpublic static String[] getValidCommands()
SystemAdminprotected String upperCaseDiskStoreNameIfNeeded(String diskStoreName)
upperCaseDiskStoreNameIfNeeded in class com.gemstone.gemfire.internal.SystemAdminprotected void printProductDirectory()
printProductDirectory in class com.gemstone.gemfire.internal.SystemAdminpublic void upgradeDiskStore(List<String> args)
upgradeDiskStore in class com.gemstone.gemfire.internal.SystemAdminprotected String encryptPassword(String cmd, List<?> cmdLine) throws Exception
encryptPassword in class com.gemstone.gemfire.internal.SystemAdminExceptionpublic String encryptForExternal(String cmd, List<?> cmdLine, String user, String pwd) throws Exception
Exceptionprotected void checkNoArgs(String cmd, List cmdLine)
checkNoArgs in class com.gemstone.gemfire.internal.SystemAdminprotected void checkRevokeMissingDiskStoresArgs(String cmd, List cmdLine)
checkRevokeMissingDiskStoresArgs in class com.gemstone.gemfire.internal.SystemAdminprotected void checkShutDownAllArgs(String cmd, List<String> cmdLine)
checkShutDownAllArgs in class com.gemstone.gemfire.internal.SystemAdminprotected void checkBackupArgs(String cmd, List cmdLine)
checkBackupArgs in class com.gemstone.gemfire.internal.SystemAdminprotected Set<?> invokeShutDownAllMembers(com.gemstone.gemfire.distributed.internal.InternalDistributedSystem ads, long timeout) throws SQLException
invokeShutDownAllMembers in class com.gemstone.gemfire.internal.SystemAdminSQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.