public class GfxdDistributionLocator extends GfxdServerLauncher
GfxdServerLauncher for GemFireXD that starts a peer
client with an embedded locator and a GemFireXD Network Server by default. This
allows for running SQL DMLs by JDBC clients which would not work in normal
GFE locators.bootProps, DEFAULT_HEAPSIZE_GB, DEFAULT_HEAPSIZE_SMALL_GB, HEAP_SIZE, INITIAL_HEAP, jvmVendor, LWC_BIND_ADDRESS_ARG, MAX_HEAP, OFF_HEAP_SIZE, processedDefaultGCParams, RUN_NETSERVER, THRIFT_SERVER_ADDRESS, THRIFT_SERVER_PORT, WAIT_FOR_SYNC, waitForDataASSIGN_BUCKETS, baseName, CLASSPATH, CRITICAL_HEAP_PERCENTAGE, CRITICAL_OFF_HEAP_PERCENTAGE, defaultLogFileName, DIR, DISABLE_DEFAULT_SERVER, disableDefaultServer, DONT_EXIT_AFTER_LAUNCH, ENVARGS, EVICTION_HEAP_PERCENTAGE, EVICTION_OFF_HEAP_PERCENTAGE, initialHeapSize, instance, isDedicatedCacheServer, LOCK_MEMORY, logger, MAX_PERM_DEFAULT, MAX_PERM_SIZE, maxHeapSize, maxPermGenSize, offHeapSize, oldErr, oldOut, pidFileName, PROPERTIES, REBALANCE, RUNNING, SERVER_BIND_ADDRESS, SERVER_PORT, serverBindAddress, serverPort, SHUTDOWN, SHUTDOWN_PENDING, SHUTDOWN_WAIT_TIME, STANDBY, STARTING, startLogFileName, status, STATUS_WAIT_TIME, statusName, useThriftServerDefault, VMARGS, WAITING, workingDir| Constructor and Description |
|---|
GfxdDistributionLocator(String baseName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToServerCommand(List<String> cmds,
Map<String,Object> options) |
protected String |
getBaseName(String name) |
protected com.pivotal.gemfirexd.FabricService |
getFabricServiceInstance() |
protected String |
getLWCPortArgName() |
protected Map<String,Object> |
getServerOptions(String[] args) |
protected void |
listAddOnArgs(boolean startsWithGemfire,
boolean startsWithGemfirexd,
boolean isPrefixHyphen) |
static void |
main(String[] args)
Main method that parses the command line and performs an will start, stop,
or get the status of a GemFireXD locator.
|
protected com.gemstone.gemfire.distributed.internal.DistributionConfig |
printDiscoverySettings(Map<String,Object> options,
Properties props) |
protected boolean |
printLaunchCommand() |
protected void |
processStartOption(String key,
String value,
Map<String,Object> m,
List<String> vmArgs,
Map<String,String> envArgs,
Properties props) |
protected boolean |
setDefaultHeapSize() |
protected void |
startRebalanceFactory(com.gemstone.gemfire.cache.Cache cache,
Map<String,Object> options) |
protected void |
startServerVM(Properties props)
do the actual startup of the GemFireXD VM
|
protected void |
usage()
Prints usage information of this program.
|
checkStatusForWait, connect, createCache, disconnect, getGFEPropNames, getLWCAddressArgName, getThriftAddressArgName, getThriftPortArgName, logSevere, logWarning, postProcessOptions, printCommandLine, printCommandLine, printStartMessage, printUsage, processProperties, processServerEnv, processStartArg, processUnknownStartOption, readPassword, run, setRunningStatus, setWaitingStatus, startAdditionalServices, stopAdditionalServicescreateStatus, createStatus, getCriticalHeapPercent, getCriticalOffHeapPercent, getCurrentInstance, getDisableDefaultServer, getEvictionHeapPercent, getEvictionOffHeapPercent, getLogFilePath, getProcessId, getServerBindAddress, getServerPort, getStartOptions, getStatus, getStopOptions, isExistingProcess, isLoggingToStdOut, makeDaemon, pollCacheServerForShutdown, processDirOption, readStatus, redirectOutputToLogFile, restoreStdOut, running, server, setServerError, spinReadStatus, start, status, stop, waitForRunning, waitForRunning, writeStatuspublic GfxdDistributionLocator(String baseName)
protected void usage()
throws IOException
usage in class GfxdServerLauncherIOExceptionprotected com.pivotal.gemfirexd.FabricService getFabricServiceInstance()
throws Exception
getFabricServiceInstance in class GfxdServerLauncherExceptionprotected void startServerVM(Properties props) throws Exception
GfxdServerLauncherstartServerVM in class GfxdServerLauncherExceptionGfxdServerLauncher.startServerVM(Properties)protected boolean setDefaultHeapSize()
setDefaultHeapSize in class GfxdServerLauncherprotected void processStartOption(String key, String value, Map<String,Object> m, List<String> vmArgs, Map<String,String> envArgs, Properties props) throws Exception
processStartOption in class GfxdServerLauncherExceptionprotected com.gemstone.gemfire.distributed.internal.DistributionConfig printDiscoverySettings(Map<String,Object> options, Properties props) throws SQLException
printDiscoverySettings in class GfxdServerLauncherSQLExceptionprotected String getLWCPortArgName()
getLWCPortArgName in class GfxdServerLauncherpublic static void main(String[] args)
protected String getBaseName(String name)
getBaseName in class GfxdServerLauncherprotected void addToServerCommand(List<String> cmds, Map<String,Object> options)
addToServerCommand in class GfxdServerLauncherCacheServerLauncher.addToServerCommand(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>)protected Map<String,Object> getServerOptions(String[] args) throws Exception
getServerOptions in class com.gemstone.gemfire.internal.cache.CacheServerLauncherExceptionCacheServerLauncher.getServerOptions(String[])protected void startRebalanceFactory(com.gemstone.gemfire.cache.Cache cache,
Map<String,Object> options)
startRebalanceFactory in class com.gemstone.gemfire.internal.cache.CacheServerLauncherprotected boolean printLaunchCommand()
printLaunchCommand in class GfxdServerLauncherprotected void listAddOnArgs(boolean startsWithGemfire,
boolean startsWithGemfirexd,
boolean isPrefixHyphen)
listAddOnArgs in class GfxdServerLauncherCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.