@Override public void setUp() throws Exception { super.setUp(); createDefaultSetup(null); setupGemFire(); }
@Override public void setUp() throws Exception { super.setUp(); createUserCommandJarFile(); }
@Override public void setUp() throws Exception { super.setUp(); createDefaultSetup(null); setupGemFire(); }
public void testSelectCommand(){ setupForSelect(); doTestGetRegionAssociatedMembersForSelect(); doTestSelectWithGfshEnvVariables(); doTestSelectProjection(); doTestSelectProjectionProcessCommand(); doTestSelectProjectionWithNestedField(); doTestSelectBeansAsResult(); doTestSelectBeansWithNestedFieldAsResult(); }
/** * Gets a proxy to the MemberMXBean for the GemFire member specified by member name or ID from the GemFire Manager's * MBeanServer. * </p> * @param member a String indicating the GemFire member's name or ID. * @return a proxy to the MemberMXBean having the specified GemFire member's name or ID from the GemFire Manager's * MBeanServer, or null if no GemFire member could be found with the specified member name or ID. * @see #getMemberMXBean(String, String) */ protected MemberMXBean getMemberMXBean(final String member) throws IOException { return getMemberMXBean(null, member); }
private void writeToTableAndCsv(TabularResultData metricsTable, String type, String metricName, String metricValue[], StringBuilder csvBuilder) { if (metricValue != null) { for (int i=0 ; i < metricValue.length; i++) { if (i == 0) { writeToTableAndCsv(metricsTable, type, metricName, metricValue[i], csvBuilder); } else { writeToTableAndCsv(metricsTable, "", "", metricValue[i], csvBuilder); } } } }
public void tearDown2() throws Exception { deleteTestFiles(); super.tearDown2(); }
/** * Connect the default shell to the default JMX server. * * @return The default shell. */ private TestableGfsh defaultShellConnect() { TestableGfsh shell = getDefaultShell(); shellConnect(this.jmxHost, this.jmxPort, this.httpPort, shell); return shell; }
/** * Execute a command using the default shell and clear the shell events before returning. * * @param command * Command to execute * @return The result of the command execution */ protected CommandResult executeCommand(String command) { assert(command != null); return executeCommand(getDefaultShell(), command); }
public void run() { getSystem(propsServer2); createRegionsWithSubRegions(); createLocalRegion(); createPartitionedRegion("ParReg1"); } }) ;
@Override public void tearDown2() throws Exception { super.tearDown2(); } }
/** * Get the default shell (will create one if it doesn't already exist). * * @return The default shell */ protected synchronized final TestableGfsh getDefaultShell() { if (this.shell == null) { this.shell = createShell(); } return this.shell; }
@Override public void tearDown2() throws Exception { invokeInEveryVM(new SerializableRunnable() { private static final long serialVersionUID = 1L; public void run() { for(Thread thread: stuckThreads) { thread.interrupt(); } } }); }
@Override public Result call() throws Exception { return executeRebalanceWithTimeout(includeRegions, excludeRegions, simulate); }
/** * Gets a proxy to the MemberMXBean for the GemFire member specified by member name or ID from the GemFire Manager's * MBeanServer. * </p> * @param member a String indicating the GemFire member's name or ID. * @return a proxy to the MemberMXBean having the specified GemFire member's name or ID from the GemFire Manager's * MBeanServer, or null if no GemFire member could be found with the specified member name or ID. * @see #getMemberMXBean(String, String) */ protected MemberMXBean getMemberMXBean(final String member) throws IOException { return getMemberMXBean(null, member); }
private void writeToTableAndCsv(TabularResultData metricsTable, String type, String metricName, String metricValue[], StringBuilder csvBuilder) { if (metricValue != null) { for (int i=0 ; i < metricValue.length; i++) { if (i == 0) { writeToTableAndCsv(metricsTable, type, metricName, metricValue[i], csvBuilder); } else { writeToTableAndCsv(metricsTable, "", "", metricValue[i], csvBuilder); } } } }
public void run() { getSystem(propsServer1); createRegionsWithSubRegions(); createLocalRegion(); } });