public void run () { if (system != null) { system.disconnect(); } } });
public void tearDown() throws Exception { super.tearDown(); //System.clearProperty("gemfire.stats.debug.debugSampleCollector"); this.system.disconnect(); this.system = null; }
public void tearDown() throws Exception { super.tearDown(); // System.clearProperty("gemfire.stats.debug.debugSampleCollector"); this.system.disconnect(); this.system = null; }
@Override public void stopReconnecting() { // (new ManagerLogWriter(LogWriterImpl.FINE_LEVEL, System.out)).fine("stopReconnecting invoked", new Exception("stack trace")); synchronized(this.reconnectCancelledLock) { this.reconnectCancelled = true; } synchronized(this.reconnectLock) { this.reconnectLock.notify(); } disconnect(false, "stopReconnecting was invoked", false); this.attemptingToReconnect = false; }
public void run() { getSystem().disconnect(); } };
public void membershipFailure(String reason, Throwable t) { exceptionInThreads = true; DistributionManager.this.rootCause = t; getSystem().disconnect(reason, t, true); }
@Override public void run() { dm.getSystem().disconnect(); } };
/** * Disconnects this VM from the distributed system. Shuts down the * distribution manager, and if necessary, */ @Override public void disconnect() { disconnect(false, LocalizedStrings.InternalDistributedSystem_NORMAL_DISCONNECT.toLocalizedString(), false); }
@Override protected void tearDown() throws Exception { super.tearDown(); if (this.overflowDir != null) { this.overflowDir.delete(); } InternalDistributedSystem ids = InternalDistributedSystem .getConnectedInstance(); if (ids != null) { ids.disconnect(); } }
public void run() { try { // Allow the Function call to exit Thread.sleep(1000); } catch (InterruptedException e) { } ConnectionTable.threadWantsSharedResources(); if (ids.isConnected()) { ids.disconnect(); } } });
public void run() { try { Thread.sleep(SLEEP_TIME_BEFORE_DISCONNECT_DS); } catch (InterruptedException e) { } ConnectionTable.threadWantsSharedResources(); if (ids.isConnected()) { ids.disconnect(); } } });
public void run() { try { // Allow the Function call to exit Thread.sleep(1000); } catch (InterruptedException e) { } ConnectionTable.threadWantsSharedResources(); if (ids.isConnected()) { ids.disconnect(); } } });
@Override public void tearDown() throws Exception { super.tearDown(); invokeFailsafe(); InternalDistributedSystem instance = InternalDistributedSystem.getAnyInstance(); if(instance != null) { instance.disconnect(); } }
@Override public void run2() throws CacheException { try { InternalDistributedSystem system = InternalDistributedSystem.getConnectedInstance(); if (system != null) system.disconnect(); } catch (Exception e) { fail("Stoping vm2 failed", e); } } });
@Override public void run2() throws CacheException { try { InternalDistributedSystem system = InternalDistributedSystem.getConnectedInstance(); if (system != null) system.disconnect(); } catch (Exception e) { fail("Stoping locator failed", e); } } });
@Override public void run2() throws CacheException { try { InternalDistributedSystem system = InternalDistributedSystem.getConnectedInstance(); if (system != null) system.disconnect(); } catch (Exception e) { fail("Stoping vm1 failed", e); } } });
@Override public void run2() throws CacheException { try { InternalDistributedSystem.getConnectedInstance().disconnect(); } catch (Exception e) { fail("Stoping vm1 failed", e); } } });
public void run() { // GatewayBatchOp.VERSION_WITH_OLD_WAN = false; distributedSystemID = -1; CCRegion.getCache().getDistributedSystem().disconnect(); } };
@Override public void setUp() throws Exception { final InternalDistributedSystem sys = InternalDistributedSystem .getConnectedInstance(); if (sys != null && sys.isConnected()) { sys.disconnect(); } final Properties props = new Properties(); props.setProperty("mcast-port", "0"); // loner this.cache = new CacheFactory(props).create(); }
@Override public void run() { dsToDisconnect.getLogWriter().info("OffHeapStorage about to invoke disconnect on " + dsToDisconnect); dsToDisconnect.disconnect(cause.getMessage(), cause, false); } };