public abstract class ForkingClientServerIntegrationTestsSupport extends ClientServerIntegrationTestsSupport
ForkingClientServerIntegrationTestsSupport class is an abstract base class used to configure
and bootstrap Apache Geode or Pivotal GemFire Server Cache and ClientCache applications.Cache,
ClientCache,
CacheServerApplication,
ClientCacheApplication,
EnablePdx,
ClientServerIntegrationTestsSupport,
ClientServerIntegrationTestsConfiguration,
ProcessWrapper| Modifier and Type | Class and Description |
|---|---|
protected static class |
ForkingClientServerIntegrationTestsSupport.BaseGemFireClientConfiguration |
static class |
ForkingClientServerIntegrationTestsSupport.BaseGemFireServerConfiguration |
IntegrationTestsSupport.ConditionDEBUG_ENDPOINT, DEBUGGING_ENABLED_PROPERTY, DEFAULT_HOSTNAME, GEMFIRE_CACHE_SERVER_PORT_PROPERTY, GEMFIRE_LOCALHOST_PORT, GEMFIRE_POOL_SERVERS_PROPERTY, PROCESS_RUN_MANUAL_PROPERTYDEBUG_GEMFIRE_QUERIES, DEFAULT_DEBUG_GEMFIRE_QUERIES, DEFAULT_WAIT_DURATION, DEFAULT_WAIT_INTERVAL, DIRECTORY_DELETE_ON_EXIT_PROPERTY, GEMFIRE_LOG_FILE, GEMFIRE_LOG_FILE_PROPERTY, GEMFIRE_LOG_LEVEL, GEMFIRE_LOG_LEVEL_PROPERTY, GEMFIRE_QUERY_VERBOSE_PROPERTY, SYSTEM_PROPERTIES_LOG_FILE, TEST_GEMFIRE_LOG_LEVEL| Constructor and Description |
|---|
ForkingClientServerIntegrationTestsSupport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCacheServerPortAndPoolPortProperties() |
protected static java.util.Optional<ProcessWrapper> |
getGemFireServerProcess() |
protected static int |
setAndGetCacheServerPortProperty(int port) |
protected static int |
setAndGetPoolPortProperty(int port) |
protected static void |
setGemFireServerProcess(ProcessWrapper gemfireServerProcess) |
static void |
startGemFireServer(java.lang.Class<?> gemfireServerConfigurationClass,
java.lang.String... arguments) |
static void |
stopGemFireServer() |
findAvailablePort, intValue, isProcessRunAuto, isProcessRunManual, run, run, run, run, runSpringApplication, runSpringApplication, stop, stop, waitForCacheServerToStart, waitForCacheServerToStart, waitForProcessToStop, waitForProcessToStop, waitForServerToStart, waitForServerToStartasApplicationName, asDirectoryName, clearAllBeanFactoryLocators, clearAllJavaGemFireGeodeAndSpringDotPrefixedSystemProperties, closeAnyGemFireCacheInstanceBeforeTestExecution, closeAnySocketConfigurationBeforeTestExecution, closeAnySslConfigurationBeforeTestExecution, closeGemFireCacheWaitOnCloseEvent, closeGemFireCacheWaitOnCloseEvent, configureQueryDebugging, createDirectory, createDirectory, destroyAllGemFireMockObjects, getClassNameAsPath, getClassNameAsPath, getContextXmlFileLocation, getPackageNameAsPath, getPackageNameAsPath, getServerContextXmlFileLocation, isDeleteDirectoryOnExit, isQueryDebuggingEnabled, logFile, logFile, logLevel, logLevel, logSystemProperties, stopAnyGemFireLocatorBeforeTestExecution, stopGemFireLocatorWaitOnStopEvent, stopGemFireLocatorWaitOnStopEvent, unregisterAllDataSerializers, usingDeleteDirectoryOnExit, waitOn, waitOn, waitOn, withQueryDebuggingpublic ForkingClientServerIntegrationTestsSupport()
public static void startGemFireServer(java.lang.Class<?> gemfireServerConfigurationClass,
java.lang.String... arguments)
throws java.io.IOException
java.io.IOExceptionprotected static int setAndGetCacheServerPortProperty(int port)
protected static int setAndGetPoolPortProperty(int port)
public static void stopGemFireServer()
public static void clearCacheServerPortAndPoolPortProperties()
protected static void setGemFireServerProcess(ProcessWrapper gemfireServerProcess)
protected static java.util.Optional<ProcessWrapper> getGemFireServerProcess()